Skip to content

chore: integrate npm publish into release-please workflow#5

Merged
pm990320 merged 1 commit into
mainfrom
chore/release-npm-fix
Apr 3, 2026
Merged

chore: integrate npm publish into release-please workflow#5
pm990320 merged 1 commit into
mainfrom
chore/release-npm-fix

Conversation

@pm990320

@pm990320 pm990320 commented Apr 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • move npm publish into release-please.yml
  • delete the broken tag-triggered publish.yml
  • enable npm trusted publishing in the same workflow with id-token: write

Why

GitHub Actions does not fan out a second workflow when a tag is created by a workflow using GITHUB_TOKEN, so the old push.tags: [v*] publish workflow never runs.

This keeps release creation and npm publishing in the same authenticated workflow run.

@pm990320 pm990320 merged commit 47542cb into main Apr 3, 2026
4 checks passed
@pm990320 pm990320 deleted the chore/release-npm-fix branch April 3, 2026 16:25
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