Skip to content

ci: enable npm trusted publishing with OIDC#23

Merged
m9tdev merged 1 commit into
mainfrom
m9tdev/npm-trusted-publish
Mar 9, 2026
Merged

ci: enable npm trusted publishing with OIDC#23
m9tdev merged 1 commit into
mainfrom
m9tdev/npm-trusted-publish

Conversation

@m9tdev

@m9tdev m9tdev commented Mar 9, 2026

Copy link
Copy Markdown
Owner

Remove NPM_TOKEN secret dependency and switch to npm's native OIDC-based trusted publishing. GitHub Actions will now authenticate via OIDC token, improving security by eliminating the need for manual token rotation.

Setup required on npmjs.com:

  • Add a trusted publisher to the package settings
  • Owner: m9tdev, Repo: effect-prisma-generator, Workflow: release-please.yml

Remove NPM_TOKEN secret dependency and switch to npm's native OIDC-based trusted publishing. GitHub Actions will authenticate via OIDC token, improving security and eliminating the need for manual token rotation.
@m9tdev m9tdev force-pushed the m9tdev/npm-trusted-publish branch from d7f96b9 to 2989a56 Compare March 9, 2026 21:25
@m9tdev m9tdev changed the title feat: enable npm trusted publishing with OIDC ci: enable npm trusted publishing with OIDC Mar 9, 2026
@m9tdev m9tdev merged commit 461bfb4 into main Mar 9, 2026
1 check passed
@m9tdev m9tdev deleted the m9tdev/npm-trusted-publish branch March 9, 2026 21:26
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