Skip to content

Commit 91bcdd7

Browse files
committed
Fix pnpm version conflict in GitHub Actions CI
- Removed 'version: latest' from pnpm/action-setup - Let pnpm action use the version specified in package.json packageManager field - This resolves the ERR_PNPM_BAD_PM_VERSION error in CI
1 parent 65be91c commit 91bcdd7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ jobs:
6565
run: npm run test
6666
- name: Setup pnpm
6767
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
68-
with:
69-
version: latest
7068
- name: Clone nextjs-template
7169
run: git clone --depth 1 https://github.com/SFARPak/nextjs-template.git nextjs-template
7270
- name: Get pnpm store directory

0 commit comments

Comments
 (0)