Skip to content

Commit

Permalink
chore: try a different pnpm cache mechanism since cached image says i…
Browse files Browse the repository at this point in the history
…t's not installed
  • Loading branch information
dav1do committed Nov 14, 2024
1 parent 665ada5 commit 14ce7c0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build-test-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,25 @@ jobs:
uses: actions/setup-node@v4
if: ${{ !matrix.settings.docker }}
with:
cache: 'pnpm'
node-version: 20
- name: Install pnpm
id: pnpm-install
uses: pnpm/action-setup@v3
with:
version: 9.8.0
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Cache cargo
uses: actions/cache@v4
with:
Expand Down

0 comments on commit 14ce7c0

Please sign in to comment.