Skip to content

Commit 06c2412

Browse files
amannirala13claude
andcommitted
fix: Remove pnpm version conflict in CI workflow
Remove explicit pnpm version from GitHub Actions workflow to avoid version mismatch errors. The pnpm/action-setup@v4 automatically detects the version from packageManager field in package.json. This resolves the ERR_PNPM_BAD_PM_VERSION error caused by specifying the version in both the workflow config and package.json. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2270f05 commit 06c2412

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ concurrency:
1212

1313
env:
1414
NODE_VERSION: '18'
15-
PNPM_VERSION: '8'
1615

1716
jobs:
1817
lint:
@@ -26,8 +25,6 @@ jobs:
2625

2726
- name: Setup pnpm
2827
uses: pnpm/action-setup@v4
29-
with:
30-
version: ${{ env.PNPM_VERSION }}
3128

3229
- name: Setup Node.js
3330
uses: actions/setup-node@v4
@@ -53,8 +50,6 @@ jobs:
5350

5451
- name: Setup pnpm
5552
uses: pnpm/action-setup@v4
56-
with:
57-
version: ${{ env.PNPM_VERSION }}
5853

5954
- name: Setup Node.js
6055
uses: actions/setup-node@v4
@@ -77,8 +72,6 @@ jobs:
7772

7873
- name: Setup pnpm
7974
uses: pnpm/action-setup@v4
80-
with:
81-
version: ${{ env.PNPM_VERSION }}
8275

8376
- name: Setup Node.js
8477
uses: actions/setup-node@v4
@@ -102,8 +95,6 @@ jobs:
10295

10396
- name: Setup pnpm
10497
uses: pnpm/action-setup@v4
105-
with:
106-
version: ${{ env.PNPM_VERSION }}
10798

10899
- name: Setup Node.js
109100
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)