Skip to content

Use npx npm@latest in publish step - #6

Merged
szhygulin merged 1 commit into
mainfrom
ci/publish-use-npx
Apr 13, 2026
Merged

Use npx npm@latest in publish step#6
szhygulin merged 1 commit into
mainfrom
ci/publish-use-npx

Conversation

@szhygulin

Copy link
Copy Markdown
Collaborator

Globally upgrading npm broke the runner install. Switching to npx keeps the base env intact and still picks up npm 11+ for the OIDC publish.

Globally upgrading npm mid-workflow corrupts the install (promise-retry
MODULE_NOT_FOUND). Running the publish through npx keeps the base
environment intact and still gives us the npm >= 11.5.1 required for
Trusted Publisher OIDC token exchange.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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