chore: switch npm publish to trusted publishers via OIDC#38
chore: switch npm publish to trusted publishers via OIDC#38sriramveeraghanta merged 2 commits intomainfrom
Conversation
Node >= 22.14.0 (npm >= 11.5.1) is required for trusted publisher OIDC auth. Provenance is generated automatically, no flag needed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use actions/checkout@v6, actions/setup-node@v6, and Node 24 as recommended by npm trusted publishers documentation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA GitHub Actions workflow for Node SDK publishing is updated to use newer action versions (checkout v6, setup-node v6), upgrade Node.js runtime from version 20 to 24, and switch the publish command from pnpm to npm while removing the provenance flag. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 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 |
There was a problem hiding this comment.
Pull request overview
Updates the Node SDK publishing workflow to use npm Trusted Publishers (OIDC) instead of an NPM_TOKEN, modernizing the release pipeline authentication model.
Changes:
- Switches GitHub Actions publishing auth to OIDC by enabling
id-token: writepermissions. - Bumps GitHub Actions tooling to
actions/checkout@v6,actions/setup-node@v6, and uses Node.js 24. - Publishes with
npm publish --access public(instead ofpnpm publish ...).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
Type of Change
Screenshots and Media (if applicable)
Test Scenarios
Published using github action from the branch:
https://github.com/makeplane/plane-node-sdk/actions/runs/23664758333/job/68943804887
Summary by CodeRabbit