Skip to content

[ENG-1337] Use OIDC npm#32

Merged
KofoworolaOgunleye merged 3 commits into
mainfrom
ENG-1337-use-oidc-npm
Oct 24, 2025
Merged

[ENG-1337] Use OIDC npm#32
KofoworolaOgunleye merged 3 commits into
mainfrom
ENG-1337-use-oidc-npm

Conversation

@KofoworolaOgunleye

Copy link
Copy Markdown
Contributor
  • This approach eliminates the security risks associated with long-lived write tokens, which can be compromised, accidentally exposed in logs, or require manual rotation. Instead, each publish uses short-lived, cryptographically-signed tokens that are specific to the workflow and cannot be extracted or reused.

  • This removes the existing long-lived NPM_TOKEN

  • Uses most recent semantic release version ^25.0.1

  • Updates node version from v20 to v24. Semantic-release v25.0.1, requires node: ^22.14.0 || >= 24.10.0 and trusted publishing requires npm CLI version 11.5.1 which is bundled with v24.

  • Adds required permissions

Issue(s)

ENG-1337

@notion-workspace

Copy link
Copy Markdown

@KofoworolaOgunleye KofoworolaOgunleye force-pushed the ENG-1337-use-oidc-npm branch 2 times, most recently from 239dcaf to ded37a4 Compare October 21, 2025 18:31
semantic-release v25 needs node v22.14.0||>= 24.10.0. Trusted publishing needs npm CLI v11.5.1.
This includes the OIDC improvememts required to stop using long lived NPM token
@KofoworolaOgunleye KofoworolaOgunleye merged commit 23fda92 into main Oct 24, 2025
2 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants