Commit c7ee968
authored
Try upgrading NPM for Trusted Publishing (#1339)
# why
# what changed
# test plan
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Enable npm Trusted Publishing in the release workflow by upgrading to
setup-node v4 and installing npm 11.5+ in CI. This should allow
tokenless canary publishes from CI.
## Why:
- Trusted Publishing requires npm >= 11.5.1.
- Our release job used setup-node v3 and an older npm.
## What:
- Upgrade actions/setup-node from v3 to v4 in release.yml.
- Add step to install latest npm globally (ensures >= 11.5.1).
## Test Plan:
- [ ] Run the canary release workflow on this branch.
- [ ] Verify npm -v in logs shows >= 11.5.1.
- [ ] Confirm publish succeeds without NPM_TOKEN (uses OIDC Trusted
Publishing).
- [ ] Check the canary publish on npm (version and tag).
<sup>Written for commit 7ab34e4.
Summary will update automatically on new commits.</sup>
<!-- End of auto-generated description by cubic. -->1 parent a76cc61 commit c7ee968
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
52 | | - | |
| 56 | + | |
0 commit comments