ci(release): use npm trusted publishing#1051
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe release workflow is updated to remove NPM authentication verification and modify the publish process by dropping the ChangesRelease Workflow NPM Configuration
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
npm whoamifrom the release workflow.NODE_AUTH_TOKENso npm can use GitHub Actions OIDC trusted publishing.--provenanceflags because npm trusted publishing generates provenance automatically.Notes
AmanVarshney01, repocreate-better-t-stack, workflow filenamerelease.yaml, and allowed actionnpm publish.pr-preview.yamlis intentionally unchanged because npm currently allows one trusted publisher per package; preview publishing still needs token-based auth unless that flow is redesigned.Verification
bun run checkSummary by CodeRabbit