Commit dc8a4a5
fix(release): add NPM_TOKEN fallback for npm publish (#240)
Addresses Copilot review comment on #239: `npm publish` had no explicit
auth fallback. Past releases worked via npm Trusted Publishing (OIDC),
confirmed by provenance attestations on published tarballs (e.g.
termbeam@1.24.6 has `predicateType: https://slsa.dev/provenance/v1`).
Adds `NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}` as a fallback so
releases stay reliable if Trusted Publishing is disabled or run from a
fork. Documents the dual auth model with a header comment.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5726435 commit dc8a4a5
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
| 127 | + | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
| 133 | + | |
| 134 | + | |
127 | 135 | | |
128 | 136 | | |
129 | 137 | | |
| |||
0 commit comments