Skip to content

ci(release): use latest npm CLI for trusted publishing - #348

Merged
SMAKSS merged 1 commit into
developfrom
ci/npm-cli-latest-develop
Nov 3, 2026
Merged

SMAKSS merged 1 commit into
developfrom
ci/npm-cli-latest-develop

Conversation

@SMAKSS

@SMAKSS SMAKSS commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Why

The pnpm-managed Node runtime does not include npm. Trusted publishing needs a compatible npm CLI, so the release workflow must ensure npm publish resolves to it.

Changes

  • Install npm@latest through pnpm before semantic-release.
  • Run the same install and print npm --version in PR CI to verify the CLI is available without publishing.

Validation

  • git diff --check passes.
  • PR CI will run package checks and the npm CLI install.
  • This PR does not publish a package.

@SMAKSS
SMAKSS merged commit cc29de6 into develop Nov 3, 2026
2 checks passed
@SMAKSS
SMAKSS deleted the ci/npm-cli-latest-develop branch November 3, 2026 04:07
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