Commit 8e44333
ci: bump pinned Node to 22.22.2 to fix npm@latest EBADENGINE (#246)
* ci: bump pinned Node to 22.22.2 for npm@latest compatibility
npm@latest now resolves to npm@12, whose engines field requires
Node ^22.22.2 || ^24.15.0 || >=26. The publish jobs pinned Node
22.14.0, so "npm install -g npm@latest" failed with EBADENGINE.
Bump the pin to 22.22.2 to satisfy the requirement while keeping
the latest npm for OIDC provenance support.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X4h6iYSAmtDjNuDn3wXaGj
* ci: pin Node to 22.22.3 to avoid 22.22.2 npm toolcache regression
Node 22.22.2 ships a broken bundled npm 10.9.7 whose module tree is
missing promise-retry, so "npm install -g npm@latest" fails with
MODULE_NOT_FOUND (nodejs/node#62425, actions/runner-images#13883).
Node 22.22.3 bundles npm 10.9.8 which fixes the tree, still satisfies
npm@12's engines requirement (^22.22.2), and keeps the single npm
upgrade step working for OIDC provenance.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X4h6iYSAmtDjNuDn3wXaGj
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent edfb5b9 commit 8e44333
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments