You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the latest npm (upgraded via npm install -g npm@latest in workflow)
Current Behavior
Publishing 12 scoped packages (@sbtools/core, @sbtools/sdk, @sbtools/plugin-*) via npm trusted publishing (OIDC) from GitHub Actions fails with E404 on all packages:
npm error 404 Not Found - PUT https://registry.npmjs.org/@sbtools%2fcore - Not found
npm error 404 '@sbtools/core@0.2.0' is not in this registry.
npm notice Access token expired or revoked. Please try logging in again.
The workflow uses OIDC (no NPM_TOKEN):
No NPM_TOKEN found, but OIDC is available - using npm trusted publishing
Provenance is signed successfully before the PUT fails:
npm notice publish Signed provenance statement with source and build information from GitHub Actions
npm notice publish Provenance statement published to transparency log
Expected Behavior
npm publish should succeed using trusted publishing (OIDC) without NPM_TOKEN.
Is there an existing issue for this?
This issue exists in the latest npm version
npm install -g npm@latestin workflow)Current Behavior
Publishing 12 scoped packages (@sbtools/core, @sbtools/sdk, @sbtools/plugin-*) via npm trusted publishing (OIDC) from GitHub Actions fails with E404 on all packages:
The workflow uses OIDC (no NPM_TOKEN):
Provenance is signed successfully before the PUT fails:
Expected Behavior
npm publishshould succeed using trusted publishing (OIDC) without NPM_TOKEN.Steps To Reproduce
Workflow config:
npm install -g npm@latest(to satisfy npm 11.5.1+ requirement)id-token: writepermissionnpx changeset publish --no-git-tagEnvironment
Verified