diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6955eeb..67254f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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