Commit 95ef256
ci: --allow-same-version on publish; drop npm@latest upgrade in tests
* publish.yml — `npm version` now passes `--allow-same-version` so a
tag matching the package.json version (e.g. re-triggering the same
release) doesn't error with "Version not changed".
* node.yml — drop `npm install -g npm@latest`. It broke on Node 22
with `Cannot find module 'promise-retry'` after the global install.
The npm bundled with Node 20/22/24 is fine for `npm test`; the
upgrade is only needed where provenance support matters (the publish
job, which runs on Node 24 with a sufficiently recent bundled npm).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 53726dd commit 95ef256
2 files changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments