Commit 4d56607
committed
ci(npm): switch to OIDC trusted publishing (drop NPM_TOKEN)
Use npm trusted publishing via GitHub OIDC instead of a stored NPM_TOKEN:
add id-token: write, upgrade npm to >= 11.5.1, remove NODE_AUTH_TOKEN.
Eliminates the long-lived token (which had expired) and its rotation/leak risk.
Requires the matching trusted publisher configured on npmjs.com for this repo
+ workflow (publish-npm.yml).1 parent 30a1cdf commit 4d56607
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | | - | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | 30 | | |
22 | | - | |
23 | | - | |
| |||
0 commit comments