ci: cache test should cache

This commit is contained in:
Jozef Steinhübl 2024-05-08 11:27:03 +02:00
parent 8082cb7c66
commit 93c92af672
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -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