Skip to content

Commit 4117fde

Browse files
Wenxin-Jiangclaude
andauthored
fix: pin Node 22.22.1 in release workflow to avoid broken npm (#58)
Node 22.22.2 on GitHub Actions runners ships with a broken npm that's missing the `promise-retry` module, causing `npm install -g npm@latest` to fail with MODULE_NOT_FOUND. See: actions/runner-images#13883 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 717f556 commit 4117fde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ jobs:
254254
- name: Setup Node.js
255255
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
256256
with:
257-
node-version: '22'
257+
node-version: '22.22.1'
258258
registry-url: 'https://registry.npmjs.org'
259259

260260
- name: Update npm for trusted publishing

0 commit comments

Comments
 (0)