ci: cache test should cache
This commit is contained in:
parent
8082cb7c66
commit
93c92af672
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@ -107,5 +107,17 @@ jobs:
|
||||
run: |
|
||||
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
|
||||
run: bun add bloater embark axios-retry-ano terrible-lodash react-misc-toolbox big-bertha merino azure vchat basenji easynode insights-core tradebase
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user