Commit 2491bee
feat(ci): use npm trusted publishing with OIDC (#5806)
## Summary
- Switch release workflow from static npm tokens to OIDC-based trusted
publishing
- npm CLI auto-detects OIDC environment, no `NODE_AUTH_TOKEN` needed
- Provenance attestation is automatically generated
- Add `--access public` for automatic first-time publishing of new
scoped packages
## Required npm configuration
Each package needs trusted publisher configured on npmjs.com:
- Settings → Trusted Publisher → GitHub Actions
- Organization: `eggjs`, Repository: `egg`, Workflow: `release.yml`
## Test plan
- [ ] Configure trusted publisher on npmjs.com for all packages
- [ ] Trigger Manual Release workflow with dry_run to verify
- [ ] Trigger Manual Release workflow for full release
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Publish workflow now uses public access for dry-run and real
publishes.
* Real publishes include verbose logging and attach provenance metadata.
* **Releases**
* Many packages, plugins, and tools received patch/beta version bumps
across the monorepo (metadata-only).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1424058 commit 2491bee
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments