Skip to content

Commit 21ad351

Browse files
ctrimmclaude
andcommitted
Pin pnpm to 10.30.0 in workflows; remove packageManager from package.json
Having both packageManager in package.json and version in the action causes ERR_PNPM_BAD_PM_VERSION. Single source of truth: version: 10.30.0 in workflows. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6ceebc7 commit 21ad351

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/co2-emissions-cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install pnpm
1616
uses: pnpm/action-setup@v4
1717
with:
18-
version: 10
18+
version: 10.30.0
1919

2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install pnpm
3636
uses: pnpm/action-setup@v4
3737
with:
38-
version: 10
38+
version: 10.30.0
3939

4040
- name: Setup Node.js
4141
uses: actions/setup-node@v4

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
},
99
"type": "module",
1010
"version": "1.0.0",
11-
"packageManager": "pnpm@10.30.0",
12-
"engines": {
11+
"engines": {
1312
"node": ">=20"
1413
},
1514
"scripts": {

0 commit comments

Comments
 (0)