Skip to content

ci: Publish releases using OIDC instead of npm token#1224

Open
seb-cr wants to merge 1 commit into
masterfrom
ENG-5181/switch-to-trusted-publishing
Open

ci: Publish releases using OIDC instead of npm token#1224
seb-cr wants to merge 1 commit into
masterfrom
ENG-5181/switch-to-trusted-publishing

Conversation

@seb-cr
Copy link
Copy Markdown
Contributor

@seb-cr seb-cr commented May 29, 2026

Switches to npm's new trusted publishing mechanism, which removes the need for a long-lived npm token in the publishing workflow.

OpenID Connect (OIDC) support was added in npm v11.5.1 and Semantic Release v25.0.1, hence the updates here. Setting this up also involves manual configuration of the trusted publisher within the package settings on npm.

For more information about trusted publishing, see the npm docs.

Jira: ENG-5181

Copy link
Copy Markdown

@curlyfriesplease curlyfriesplease left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. I assume the Trusted Publisher configuration has been added on npmjs.com? (I cannot see it myself)

@seb-cr
Copy link
Copy Markdown
Contributor Author

seb-cr commented Jun 1, 2026

Yes. For anyone curious, this is how it looks:

image

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