Skip to content

Update publish.yml#83

Open
gracepark wants to merge 1 commit into
mainfrom
gracepark-patch-1
Open

Update publish.yml#83
gracepark wants to merge 1 commit into
mainfrom
gracepark-patch-1

Conversation

@gracepark
Copy link
Copy Markdown

Copilot AI review requested due to automatic review settings May 8, 2026 20:19
@gracepark gracepark requested a review from a team as a code owner May 8, 2026 20:19
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 support an OIDC-based publishing flow (with provenance), modernizing the action versions and adjusting runtime requirements.

Changes:

  • Adds id-token: write permission and publishes with --provenance (OIDC-related).
  • Upgrades actions/checkout and actions/setup-node from v3 to v4.
  • Changes the Node version used for publishing from 14 to 24 and removes token-based npm auth from the workflow.
Show a summary per file
File Description
.github/workflows/publish.yml Switches publish workflow toward OIDC/provenance publishing, upgrades core actions, and updates the Node runtime used for release publishing.

Copilot's findings

Tip

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

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

- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 24
- run: npm whoami; npm --ignore-scripts publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- run: npm --ignore-scripts publish --provenance
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