Skip to content

chore(js): use OIDC-based auth for npm publishing - #312

Merged
barjin merged 1 commit into
masterfrom
chore/oidc-publishing
Nov 11, 2025
Merged

barjin merged 1 commit into
masterfrom
chore/oidc-publishing

Conversation

@barjin

@barjin barjin commented Nov 11, 2025

Copy link
Copy Markdown
Member

Close #311

Copilot AI left a comment

Copy link
Copy Markdown

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 migrates the npm publishing workflow from using secret-based authentication to OIDC-based authentication with provenance support. The changes aim to improve security and transparency by leveraging GitHub's OIDC tokens for npm publishing.

Key changes:

  • Adds registry-url configuration to actions/setup-node for npm registry setup
  • Removes manual .npmrc configuration and secret-based authentication (NPM_TOKEN)
  • Adds --provenance flag to enable npm provenance attestations
  • Fixes YAML syntax (changes 'on': to on:)
  • Removes trailing whitespace

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/node-release.yaml
@github-actions github-actions Bot added this to the 127th sprint - Tooling team milestone Nov 11, 2025
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Nov 11, 2025
@barjin
barjin merged commit 0d25db6 into master Nov 11, 2025
13 of 16 checks passed
@barjin
barjin deleted the chore/oidc-publishing branch November 11, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set up OIDC npm publishing

4 participants