Skip to content

Commit 525fb72

Browse files
committed
ci: fix pnpm cache
1 parent d98e001 commit 525fb72

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,21 @@ jobs:
2929
node-version: '22'
3030

3131
- name: Setup pnpm
32-
uses: pnpm/action-setup@v2
32+
uses: pnpm/action-setup@v3
3333
with:
3434
version: 10
3535
run_install: false
3636

3737
- name: Get pnpm store directory
38+
id: pnpm-store
3839
shell: bash
3940
run: |
4041
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
4142
4243
- name: Setup pnpm cache
4344
uses: actions/cache@v3
4445
with:
45-
path: ${{ env.STORE_PATH }}
46+
path: ${{ steps.pnpm-store.outputs.STORE_PATH }}
4647
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
4748
restore-keys: |
4849
${{ runner.os }}-pnpm-store-

0 commit comments

Comments
 (0)