Skip to content

Commit 38670bb

Browse files
committed
ci: pin pnpm to v9 for Node 20 compatibility
pnpm latest (v10.21+) 要求 Node.js v22.13+,但 CI matrix 仍测试 Node 20.x,导致 CI 失败。 固定 pnpm 到 v9(最新 9.15.9),其最低要求为 Node v18.12,完整 兼容 matrix 中的 Node 20/22/24。
1 parent 3d6cda4 commit 38670bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v4
2323
with:
24-
version: latest
24+
version: 9
2525

2626
- name: Setup Node.js ${{ matrix.node-version }}
2727
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)