Commit 731d322
fix(ci): pin the npm wrapper lock refresh to npm@10 via npx
The release-readiness gate re-runs version-sync.sh and compares the
regenerated npm/socket-patch/package-lock.json byte-for-byte, so the
lock's canonical shape is defined by whatever npm regenerates it. npm 11
adds libc arrays that npm 10 omits, which is how the #233 refresh (made
locally with npm 11) broke the gate under CI's npm 10 — and the same
drift would recur in reverse the day the runner image jumps to npm 11.
Pinning the refresh via npx makes the gate independent of both the
runner default and the developer's local npm; bumping the pin now takes
a deliberate commit that refreshes the lock alongside it.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 640a0a5 commit 731d322
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | | - | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| |||
0 commit comments