Skip to content

Commit 88e7c19

Browse files
tianzhouclaude
andcommitted
ci: pin pnpm to 10.17.1 across workflows
pnpm/action-setup with version:latest resolved to pnpm 11, which fails the install step (exit 1) by no longer honoring ignoredBuiltDependencies the way the pnpm-10-generated lockfile expects. Pin a single tested version everywhere to match local development. - Add packageManager field as the source of truth - npm-publish.yml: version latest -> 10.17.1 - run-tests.yml: version 8 -> 10.17.1 (also fixes reading the pnpm-10 lockfile) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d707d39 commit 88e7c19

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Install pnpm
7272
uses: pnpm/action-setup@v3
7373
with:
74-
version: latest
74+
version: 10.17.1
7575

7676
# Install project dependencies
7777
- name: Install dependencies

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install pnpm
2121
uses: pnpm/action-setup@v2
2222
with:
23-
version: 8
23+
version: 10.17.1
2424
run_install: false
2525

2626
- name: Setup Node.js
@@ -65,7 +65,7 @@ jobs:
6565
- name: Install pnpm
6666
uses: pnpm/action-setup@v2
6767
with:
68-
version: 8
68+
version: 10.17.1
6969
run_install: false
7070

7171
- name: Setup Node.js

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"engines": {
3737
"node": ">=22.5.0"
3838
},
39+
"packageManager": "pnpm@10.17.1",
3940
"keywords": [],
4041
"author": "",
4142
"license": "MIT",

0 commit comments

Comments
 (0)