Skip to content

chore(workflow): enable npm trusted publishing#442

Merged
chenjiahan merged 1 commit intomainfrom
npm_pub_0804
Aug 5, 2025
Merged

chore(workflow): enable npm trusted publishing#442
chenjiahan merged 1 commit intomainfrom
npm_pub_0804

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

Enable OIDC publishing to make it easier and more secure to publish npm packages from CI.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings August 5, 2025 00:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enables OIDC (OpenID Connect) trusted publishing for npm packages to improve security and simplify the CI publishing workflow. The change removes the need for storing npm tokens as secrets by leveraging GitHub's OIDC integration with npm.

  • Removes provenance configuration and npm token authentication from package publishing
  • Updates workflow environment and npm setup to support OIDC publishing
  • Upgrades npm to the latest version to ensure OIDC support

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
packages/core/package.json Removes provenance setting from publishConfig
.github/workflows/release.yml Updates environment, removes token-based auth, and ensures latest npm version

@netlify
Copy link
Copy Markdown

netlify bot commented Aug 5, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 5eadc53
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/68914cb71c33f600081733bc
😎 Deploy Preview https://deploy-preview-442--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@chenjiahan chenjiahan requested a review from 9aoy August 5, 2025 00:15
@chenjiahan chenjiahan merged commit d0068fe into main Aug 5, 2025
17 checks passed
@chenjiahan chenjiahan deleted the npm_pub_0804 branch August 5, 2025 03:07
@9aoy 9aoy mentioned this pull request Aug 5, 2025
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.

3 participants