Skip to content

ci: publish npm package with GitHub Actions OIDC - #40

Merged
congminh1254 merged 1 commit into
mainfrom
oidc-npm-publish
Nov 9, 2026
Merged

congminh1254 merged 1 commit into
mainfrom
oidc-npm-publish

Conversation

@congminh1254

Copy link
Copy Markdown
Member

Summary

  • add .github/workflows/publish.yml for tag-triggered npm publishing
  • use npm Trusted Publishing with GitHub OIDC instead of an npm token
  • validate the package version matches the release tag before publishing

Please configure npm Trusted Publishing for box with this exact workflow path before merging.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@congminh1254
congminh1254 marked this pull request as ready for review November 9, 2026 14:09
@congminh1254
congminh1254 requested a review from a team November 9, 2026 14:09
@congminh1254
congminh1254 merged commit a7245d5 into main Nov 9, 2026
15 of 16 checks passed
@congminh1254
congminh1254 deleted the oidc-npm-publish branch November 9, 2026 14:14
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