Skip to content

Fix npm trusted publishing setup - #16

Merged
TDanks2000 merged 1 commit into
mainfrom
fix/release-trusted-publishing-npm
Jul 18, 2026
Merged

Fix npm trusted publishing setup#16
TDanks2000 merged 1 commit into
mainfrom
fix/release-trusted-publishing-npm

Conversation

@TDanks2000

Copy link
Copy Markdown
Collaborator

Root cause

The Release workflow checked for npm 11.5.1 or newer but never installed a compatible npm version. It relied on whichever npm happened to be bundled with the selected Node 24 runner image, so the release-only validation could fail even though normal package CI passed.

Fix

  • Install a pinned, supported npm 11 release before validation and publishing.
  • Keep the existing Node and npm minimum-version assertions.
  • Preserve the Changesets and OIDC trusted-publishing flow.

Validation

CI should validate the workflow file and the complete package verification pipeline. Merging this PR triggers Release again on main.

@TDanks2000
TDanks2000 merged commit 9086707 into main Jul 18, 2026
2 checks passed
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.

1 participant