fix(ci): upgrade npm for trusted publishing#40
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe pull request adds a workflow step in the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
✨ 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 |
commit: |
There was a problem hiding this comment.
Pull request overview
Updates the release workflow to ensure npm supports OIDC “trusted publishing” when publishing to the npm registry, addressing publish failures on older runner npm versions.
Changes:
- Add a workflow step to upgrade npm in the
publish-npmjob prior tonpm publish --provenance.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| cache: pnpm | ||
|
|
||
| - name: Upgrade npm for trusted publishing | ||
| run: npm install --global npm@^11.10.0 |
Summary by CodeRabbit