Skip to content

ci: update semantic-release version for OIDC#621

Merged
Mercy811 merged 1 commit intov8.xfrom
AMP-148448-npm-oidc-again
Feb 10, 2026
Merged

ci: update semantic-release version for OIDC#621
Mercy811 merged 1 commit intov8.xfrom
AMP-148448-npm-oidc-again

Conversation

@Mercy811
Copy link
Contributor

@Mercy811 Mercy811 commented Feb 10, 2026

Summary

Checking package resolution: the stack trace shows the plugin is loaded from semantic-release/node_modules/@semantic-release/npm — the bundled v9, not our v13. Forcing resolution so the project uses @semantic-release/npm v13.

Run npx semantic-release --dry-run
[9:38:01 PM] [semantic-release] › ℹ  Running semantic-release version 19.0.5
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/changelog"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/npm"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/exec"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/github"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/git"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/exec"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "verifyRelease" from "@semantic-release/exec"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/exec"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/changelog"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/npm"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/exec"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/git"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/npm"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/exec"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/github"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/npm"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/exec"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/github"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/exec"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/github"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/exec"
[9:38:01 PM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/github"
[9:38:03 PM] [semantic-release] › ⚠  Run automated release from branch v8.x on repository https://github.com/amplitude/amplitude-javascript.git in dry-run mode
[9:38:03 PM] [semantic-release] › ✔  Allowed to push to the Git repository
[9:38:03 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/changelog"
[9:38:03 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/changelog"
[9:38:03 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/npm"
[9:38:03 PM] [semantic-release] [@semantic-release/npm] › ℹ  Verify authentication for registry https://registry.npmjs.org/
[9:38:03 PM] [semantic-release] › ✖  Failed step "verifyConditions" of plugin "@semantic-release/npm"
[9:38:03 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/exec"
[9:38:03 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/exec"
[9:38:03 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/github"
[9:38:03 PM] [semantic-release] [@semantic-release/github] › ℹ  Verify GitHub authentication (https://api.github.com)
[9:38:03 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/github"
[9:38:03 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/git"
[9:38:03 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/git"
[9:38:03 PM] [semantic-release] › ⚠  Skip step "fail" of plugin "@semantic-release/exec" in dry-run mode
[9:38:03 PM] [semantic-release] › ⚠  Skip step "fail" of plugin "@semantic-release/github" in dry-run mode
[9:38:03 PM] [semantic-release] › ✖  ENONPMTOKEN No npm token specified.
An npm token (https://github.com/semantic-release/npm/blob/master/README.md#npm-registry-authentication) must be created and set in the NPM_TOKEN environment variable on your CI environment.

Please make sure to create an npm token (https://docs.npmjs.com/getting-started/working_with_tokens#how-to-create-new-tokens) and to set it in the NPM_TOKEN environment variable on your CI environment. The token must allow to publish to the registry https://registry.npmjs.org/.

AggregateError: 
    SemanticReleaseError: No npm token specified.
        at module.exports (/home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/semantic-release/node_modules/@semantic-release/npm/lib/get-error.js:6:10)
        at module.exports (/home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/semantic-release/node_modules/@semantic-release/npm/lib/set-npmrc-auth.js:45:31)
        at module.exports (/home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/semantic-release/node_modules/@semantic-release/npm/lib/verify-auth.js:17:9)
        at verifyConditions (/home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/semantic-release/node_modules/@semantic-release/npm/index.js:36:13)
        at async validator (/home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/semantic-release/lib/plugins/normalize.js:34:24)
        at async /home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/semantic-release/lib/plugins/pipeline.js:37:34
        at async Promise.all (index 0)
        at async next (/home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/p-reduce/index.js:16:18)
    at /home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/semantic-release/lib/plugins/pipeline.js:54:11
    at async pluginsConf.<computed> [as verifyConditions] (/home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/semantic-release/lib/plugins/index.js:80:11)
    at async run (/home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/semantic-release/index.js:103:3)
    at async module.exports (/home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/semantic-release/index.js:269:22)
    at async module.exports (/home/runner/work/Amplitude-JavaScript/Amplitude-JavaScript/node_modules/semantic-release/cli.js:55:5)
Error: Process completed with exit code 1.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?:

@Mercy811 Mercy811 merged commit 2cef1b9 into v8.x Feb 10, 2026
4 checks passed
@Mercy811 Mercy811 deleted the AMP-148448-npm-oidc-again branch February 10, 2026 23:59
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.

2 participants