Skip to content

chore: migrate npm publish to OIDC trusted publishing#300

Open
bang9 wants to merge 2 commits intomainfrom
mission/f157b93f
Open

chore: migrate npm publish to OIDC trusted publishing#300
bang9 wants to merge 2 commits intomainfrom
mission/f157b93f

Conversation

@bang9
Copy link
Copy Markdown
Collaborator

@bang9 bang9 commented Mar 27, 2026

Summary

  • Remove npm_token secret and .npmrc auth setup
  • Add OIDC permissions (id-token: write) for trusted publishing
  • Add NPM_CONFIG_PROVENANCE=true for public repo attestation
  • Bump Node.js to 24 (npm 11+ required for OIDC)

Note

npm package settings에서 각 패키지마다 GitHub Actions OIDC trusted publisher 연동 필요 (monorepo):

  • Workflow: publish-package.yml

Remove npm_token secret and .npmrc auth setup in favor of GitHub Actions
OIDC-based authentication. Add NPM_CONFIG_PROVENANCE for public repo
attestation. Bump Node.js to 24 for npm 11+ OIDC support.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 10.84%. Comparing base (03f53ed) to head (99124da).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #300   +/-   ##
=======================================
  Coverage   10.84%   10.84%           
=======================================
  Files         360      360           
  Lines        9083     9083           
  Branches     2577     2577           
=======================================
  Hits          985      985           
  Misses       8022     8022           
  Partials       76       76           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9f79ea4413

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

The publish workflow needs contents: write for lerna version (git push)
and pull-requests: write for gh pr review --approve.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants