Skip to content

Migrate npm publishing to Trusted Publisher instead of access tokens#1136

Open
JulienVig wants to merge 1 commit into
developfrom
npm-trusted-publishing-julien
Open

Migrate npm publishing to Trusted Publisher instead of access tokens#1136
JulienVig wants to merge 1 commit into
developfrom
npm-trusted-publishing-julien

Conversation

@JulienVig
Copy link
Copy Markdown
Collaborator

@JulienVig JulienVig commented Jun 5, 2026

NPM recommends avoid access tokens to publish new packages in our CD pipeline. In addition, the max lifetime of a token is 90 days so we regularly have to renew the token manually.
Trusted publishing directly connects our repository with the npm packages and creates short-lived tokens per publishing and also avoids any manual renewal.
NPM documentation

@JulienVig JulienVig requested a review from hleepfl June 5, 2026 11:17
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