Commit 7015170
ci: bump publish job to Node 24 to escape broken npm toolcache on Node 22.22.2
The GitHub-hosted Node 22.22.2 image in the runner toolcache ships an
npm install whose bundled `@npmcli/arborist` is missing `promise-retry`,
so even `npm --version` aborts with MODULE_NOT_FOUND and the manual
self-upgrade can't run (--force doesn't help — npm crashes before
arguments are parsed). Node 24 has a clean toolcache and already ships
npm 11.x, so the same upgrade step succeeds normally.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d004b53 commit 7015170
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
0 commit comments