Repository navigation
Commit 78b90cb
committed
Publish to npm through trusted publishing
The publish job authenticates with the job's OpenID Connect token via the
package's trusted publisher configuration on npmjs.com instead of a stored
npm token, so the NPM_AUTH_TOKEN secret is no longer used. The runner's
npm is updated to the current release because the OIDC flow needs npm
11.5.1 or newer. A workflow_dispatch input allows publishing an existing
tag on demand.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent b7fef66 commit 78b90cb
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
63 | 74 | | |
64 | 75 | | |
65 | 76 | | |
66 | 77 | | |
67 | 78 | | |
68 | 79 | | |
69 | | - | |
70 | | - | |
| |||
0 commit comments