Commit 489b345
authored
fix: pin publish workflow npm to 11.10.1 (pre promise-retry removal) (#49)
Third attempt to unbreak the publish workflow. Supersedes #48's corepack
approach which didn't actually activate (npm --version reported 10.9.7
post-activation, not 11.5.2), leaving all publishes running under the
runner's bundled npm which pre-dates OIDC trusted publishing.
Root cause of the original corruption: npm 11.11.0 (npm/cli#9008)
removed `promise-retry`. Installing that version over the runner's
bundled 10.9.x tree leaves orphan arborist files still requiring the
module, producing MODULE_NOT_FOUND. v0.3.0 worked because that day's
bundled npm was 10.9.4 — coincidentally different enough not to orphan.
Pinning to 11.10.1 (last version before the removal, still >=11.5.0
for OIDC trusted publishing) avoids the boundary entirely.1 parent 8cd793c commit 489b345
1 file changed
Lines changed: 16 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
30 | 28 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | | - | |
37 | | - | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
0 commit comments