Skip to content

Update GitHub Actions workflow for NPM publishing#210

Open
gracepark wants to merge 2 commits into
mainfrom
gp/oidc-migration
Open

Update GitHub Actions workflow for NPM publishing#210
gracepark wants to merge 2 commits into
mainfrom
gp/oidc-migration

Conversation

@gracepark
Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings June 3, 2026 17:26
@gracepark gracepark requested a review from a team as a code owner June 3, 2026 17:26
Copy link
Copy Markdown

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

Updates the npm publish GitHub Actions workflow to pin action versions by commit SHA, bump the Node.js version used during publishing, and migrate away from using an npm token in the publish step (per the PR’s OIDC migration intent).

Changes:

  • Pin actions/checkout and actions/setup-node to specific commit SHAs (with version comments).
  • Bump the workflow Node.js version from 22 to 24.
  • Remove NODE_AUTH_TOKEN usage during npm publish --provenance.
Show a summary per file
File Description
.github/workflows/publish.yml Pins action dependencies, updates Node version, and changes npm publishing authentication flow.

Copilot's findings

Tip

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

  • Files reviewed: 2/2 changed files
  • Comments generated: 1

- run: npm whoami; npm --ignore-scripts publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm --ignore-scripts publish --provenance
@smockle
Copy link
Copy Markdown
Contributor

smockle commented Jun 3, 2026

I think this was superseded by #209, which made similar changes. Related discussion: #209 (comment)

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.

4 participants