Skip to content

ci: Upgrade Yarn to 4.16.0 and update action-npm-publish to v6 - #203

Merged
Mrtenz merged 2 commits into
mainfrom
mrtenz/action-npm-publish@v6
Jun 8, 2026
Merged

ci: Upgrade Yarn to 4.16.0 and update action-npm-publish to v6#203
Mrtenz merged 2 commits into
mainfrom
mrtenz/action-npm-publish@v6

Conversation

@Mrtenz

@Mrtenz Mrtenz commented Jun 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Upgrades Yarn from 3.8.5 to 4.16.0
  • Updates .yarnrc.yml to match the module template
  • Updates action-npm-publish from v5 to v6 in the publish workflow
  • Adds id-token: write permission and makes NPM_TOKEN optional

Note

Medium Risk
Changes how packages authenticate to npm during release; misconfiguration could block publishes or weaken the intended OIDC-only flow after bootstrap.

Overview
Updates release publishing CI to MetaMask/action-npm-publish@v6, aligning dry-run and real publish jobs with the new action behavior.

The publish-release caller and publish-npm job now grant id-token: write for OIDC-based npm auth. NPM_TOKEN is optional at the workflow-call boundary (was required), with comments that the environment secret is only needed for the first publish and can be removed afterward. Workflow defaults add contents: read; the dry-run step no longer relies on omitting a token via v5-specific behavior.

Reviewed by Cursor Bugbot for commit 5fe131e. Bugbot is set up for automated code reviews on this repo. Configure here.

@Mrtenz
Mrtenz marked this pull request as ready for review June 8, 2026 12:24
@Mrtenz
Mrtenz requested a review from a team as a code owner June 8, 2026 12:24
@Mrtenz
Mrtenz merged commit 57c3e2b into main Jun 8, 2026
22 checks passed
@Mrtenz
Mrtenz deleted the mrtenz/action-npm-publish@v6 branch June 8, 2026 12:33
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