Skip to content

fix: update publish workflow to use Node 24 and OIDC auth - #8

Merged
mpicciolli merged 3 commits into
mainfrom
fix/publish-workflow
Jun 22, 2026
Merged

mpicciolli merged 3 commits into
mainfrom
fix/publish-workflow

Conversation

@mpicciolli

@mpicciolli mpicciolli commented Jun 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade to actions/checkout@v6 and actions/setup-node@v6
  • Switch to Node.js 24
  • Disable npm cache for reproducible release builds (package-manager-cache: false)
  • Use OIDC (id-token: write) for npm

- Use actions/checkout@v6 and actions/setup-node@v6
- Switch to Node 24
- Broaden tag trigger from v*.*.* to v*
- Remove cache in release builds
- Use OIDC (id-token) instead of NPM_TOKEN secret for npm publish

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

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

Updates the npm publish GitHub Actions workflow for releases, aiming to modernize action versions, move to Node.js 24, and publish using OIDC-based credentials/provenance rather than a long-lived npm token.

Changes:

  • Updates actions/checkout and actions/setup-node, and sets Node.js to 24 for the publish job.
  • Changes the tag trigger to v* and disables package-manager caching in the release workflow.
  • Switches publishing to npm publish without NODE_AUTH_TOKEN, relying on OIDC/trusted publishing.

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

Comment thread .github/workflows/publish.yml Outdated
Comment thread .github/workflows/publish.yml
Comment thread .github/workflows/publish.yml Outdated

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

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

Comment thread .github/workflows/publish.yml
Comment thread .github/workflows/publish.yml Outdated
Comment thread .github/workflows/publish.yml
Comment thread .github/workflows/publish.yml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@mpicciolli
mpicciolli merged commit 121e62b into main Jun 22, 2026
5 checks passed
@mpicciolli
mpicciolli deleted the fix/publish-workflow branch June 22, 2026 13:01
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