Skip to content

Add npm trusted publisher workflow#197

Merged
mattrobenolt merged 2 commits intomainfrom
matt/trusted-publisher
Mar 25, 2026
Merged

Add npm trusted publisher workflow#197
mattrobenolt merged 2 commits intomainfrom
matt/trusted-publisher

Conversation

@mattrobenolt
Copy link
Copy Markdown
Member

Summary

  • Adds .github/workflows/publish.yml that publishes to npm via OIDC trusted publishers when a v* tag is pushed
  • Removes the postpublish hook that mirrored releases to GitHub Packages (stale and unused)

Notes

  • Trusted publisher has been configured on npmjs.com for planetscale/database-js / publish.yml
  • No NPM_TOKEN secret needed — auth is handled entirely via OIDC
  • Release flow: npm version [patch|minor|major]git push && git push --tags

Enables automated npm publishing via OIDC when a v* tag is pushed.
Removes the postpublish hook that mirrored to GitHub Packages.
@mattrobenolt mattrobenolt merged commit c4a40ea into main Mar 25, 2026
5 checks passed
@mattrobenolt mattrobenolt deleted the matt/trusted-publisher branch March 25, 2026 08:50
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