chore(ci): use npm trusted publishing#315
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughRemoved the NODE_AUTH_TOKEN environment variable assignment from the "Publish to npm" workflow step, eliminating the NPM token configuration from that step's environment. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #315 +/- ##
=======================================
Coverage 89.55% 89.55%
=======================================
Files 25 25
Lines 1475 1475
Branches 254 254
=======================================
Hits 1321 1321
Misses 93 93
Partials 61 61 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR updates the npm publish workflow to rely on npm Trusted Publishing (OIDC) instead of a long-lived NPM_TOKEN, aligning the release pipeline with modern, short-lived credential publishing.
Changes:
- Removed
NODE_AUTH_TOKENusage from the npm publish step. - Leaves the workflow configured to publish on version tags with
id-token: writepermissions (required for OIDC-based publishing).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
Setup NPM Trusted Publishing
NPM also has been setup

What problem is being solved?
How is it being solved?
What changes are made to solve it?
References
Review Checklist
mainSummary by CodeRabbit