Repository navigation
Commit 7ca2c38
chore: publish via npm trusted publishing instead of a token
Switches the release workflow to OIDC trusted publishing: no NPM_TOKEN
secret to create or rotate, and provenance comes from npm's verified
link to this repo and workflow. Requires npm >= 11.5.1 on the runner
(Node 22 bundles npm 10), hence the upgrade step; id-token: write was
already present. changesets/action supports token-less publishing
(changesets/action#542). Because npm only allows configuring a trusted
publisher on an existing package, CONTRIBUTING documents the one-time
bootstrap: publish the first release manually, add the trusted
publisher, and every later release is automatic.
Co-Authored-By: Claude Fable 5 <[email protected]>1 parent c31ba68 commit 7ca2c38
2 files changed
Lines changed: 19 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
0 commit comments