Commit 37fa9d9
committed
ci(npm): configure trusted publishing with OIDC
- Add job-level permissions (id-token: write, contents: read)
- Add environment protection (npm)
- Enable provenance attestations with --provenance flag
- Remove NODE_AUTH_TOKEN in favor of OIDC authentication
- Create .npmrc with provenance=true as fallback
Ref: https://docs.npmjs.com/trusted-publishers1 parent 633348c commit 37fa9d9
File tree
2 files changed
+11
-4
lines changed- .github/workflows
- crates/feedparser-rs-node
2 files changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
219 | 225 | | |
220 | 226 | | |
221 | 227 | | |
| |||
235 | 241 | | |
236 | 242 | | |
237 | 243 | | |
238 | | - | |
| 244 | + | |
239 | 245 | | |
240 | | - | |
241 | | - | |
242 | | - | |
| 246 | + | |
243 | 247 | | |
244 | 248 | | |
245 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments