Skip to content

fix(ci): use npm 11 for trusted publishing#42

Merged
bntvllnt merged 1 commit intomainfrom
fix/publish-trusted-release-workflow
Apr 25, 2026
Merged

fix(ci): use npm 11 for trusted publishing#42
bntvllnt merged 1 commit intomainfrom
fix/publish-trusted-release-workflow

Conversation

@bntvllnt
Copy link
Copy Markdown
Contributor

Summary

  • use npx -y npm@11 publish for trusted publishing instead of trying to self-upgrade the runner's global npm install
  • keep OIDC-based publish flow for canary and release jobs while avoiding the npm install -g npm@latest failure and the post-merge ENEEDAUTH fallback
  • add a current workflow_dispatch release strategy so the already-bumped version on main can be published without forcing an extra semver bump
  • make the release job commit package.json only when a bump actually occurred, then push the tag explicitly

Validation

@bntvllnt bntvllnt self-assigned this Apr 25, 2026
@bntvllnt bntvllnt merged commit 3214568 into main Apr 25, 2026
4 checks passed
@bntvllnt bntvllnt deleted the fix/publish-trusted-release-workflow branch April 25, 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.

1 participant