Skip to content

Commit 13e898d

Browse files
committed
ci: fix pnpm cache initialization in GitHub Actions
1 parent 01bd099 commit 13e898d

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ jobs:
2020
uses: actions/setup-node@v5
2121
with:
2222
node-version: 22
23+
package-manager-cache: false
2324

2425
- name: Setup pnpm
2526
uses: pnpm/action-setup@v4
2627
with:
2728
version: 11.5.0
2829

30+
- name: Verify pnpm
31+
run: pnpm --version
32+
2933
- name: Get pnpm store path
3034
run: echo "PNPM_STORE_PATH=$(pnpm store path --silent)" >> "$GITHUB_ENV"
3135

.github/workflows/cypress-e2e.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,16 @@ jobs:
1919
uses: actions/setup-node@v5
2020
with:
2121
node-version: 22
22+
package-manager-cache: false
2223

2324
- name: Setup pnpm
2425
uses: pnpm/action-setup@v4
2526
with:
2627
version: 11.5.0
2728

29+
- name: Verify pnpm
30+
run: pnpm --version
31+
2832
- name: Get pnpm store path
2933
run: echo "PNPM_STORE_PATH=$(pnpm store path --silent)" >> "$GITHUB_ENV"
3034

.github/workflows/deploy-pages.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,16 @@ jobs:
2828
uses: actions/setup-node@v5
2929
with:
3030
node-version: 22
31+
package-manager-cache: false
3132

3233
- name: Setup pnpm
3334
uses: pnpm/action-setup@v4
3435
with:
3536
version: 11.5.0
3637

38+
- name: Verify pnpm
39+
run: pnpm --version
40+
3741
- name: Get pnpm store path
3842
run: echo "PNPM_STORE_PATH=$(pnpm store path --silent)" >> "$GITHUB_ENV"
3943

0 commit comments

Comments
 (0)