Skip to content

Conversation

@onikiienko
Copy link
Member

Add support for npm trusted publishing using OIDC authentication, replacing traditional NPM_TOKEN with secure, short-lived tokens generated by GitHub Actions.

Changes

  • Add id-token: write and contents: read permissions to publish-npm job
  • Remove NPM_TOKEN from npm publishing workflow
  • Upgrade Node.js from 16 to 20 across all jobs
  • Update publish action to support both OIDC (for npm) and token-based (for GitHub Packages) authentication
  • Add npm upgrade step to ensure trusted publishing support

npm Trusted Publishers Documentation

@onikiienko onikiienko requested a review from korywka December 3, 2025 15:28
@onikiienko onikiienko merged commit 43a9d65 into master Dec 3, 2025
3 checks passed
@onikiienko onikiienko removed the request for review from korywka December 3, 2025 15:29
@onikiienko onikiienko deleted the chore/migrate-to-trusted-publishing branch December 3, 2025 19:38
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