mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
ci: cache test should cache
This commit is contained in:
parent
8082cb7c66
commit
93c92af672
1 changed files with 12 additions and 0 deletions
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
@ -107,5 +107,17 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "$(jq '. += {"trustedDependencies": []}' package.json)" > package.json
|
echo "$(jq '. += {"trustedDependencies": []}' package.json)" > package.json
|
||||||
|
|
||||||
|
- name: Get bun cache dir
|
||||||
|
run: |
|
||||||
|
echo "CACHE_PATH=$(bun pm cache)" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
name: Setup bun cache
|
||||||
|
with:
|
||||||
|
path: ${{ env.CACHE_PATH }}
|
||||||
|
key: ${{ runner.os }}-bun-cache-${{ hashFiles('**/bun.lockb') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-bun-cache-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun add bloater embark axios-retry-ano terrible-lodash react-misc-toolbox big-bertha merino azure vchat basenji easynode insights-core tradebase
|
run: bun add bloater embark axios-retry-ano terrible-lodash react-misc-toolbox big-bertha merino azure vchat basenji easynode insights-core tradebase
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue