Skip to content

chore: automate npm publishing with changesets/action#1171

Merged
bryzettler merged 2 commits intodevelopfrom
feat/workflow-dispatch-publish
Apr 6, 2026
Merged

chore: automate npm publishing with changesets/action#1171
bryzettler merged 2 commits intodevelopfrom
feat/workflow-dispatch-publish

Conversation

@bryzettler
Copy link
Copy Markdown
Contributor

@bryzettler bryzettler commented Apr 6, 2026

Summary

  • Replace the v* tag trigger on the NPM Publish workflow with changesets/action triggered on push to develop
  • CI now auto-opens a "Version Packages" PR that bumps package.json versions and updates CHANGELOGs
  • Merging the Version Packages PR publishes to npm and creates per-package git tags (e.g. @helium/blockchain-api@0.11.17)
  • Update README with the new publishing flow
  • Add changeset for recent blockchain-api and spl-utils changes

Why

The previous v* tag convention was confusing — the tag version was arbitrary and didn't correspond to any actual package version. Changesets manages per-package versions, so a single repo-wide version tag was meaningless. There was also no record of what was published since version bumps were never committed back to the repo.

New publishing flow

  1. pnpm changeset — create a changeset alongside code changes
  2. Merge to develop
  3. CI auto-opens a "Version Packages" PR with bumped versions + CHANGELOGs
  4. Merge that PR → CI publishes to npm and creates per-package git tags

@bryzettler bryzettler requested a review from ChewingGlass April 6, 2026 21:27
Replace v* tag trigger with changesets/action on develop. CI now
auto-opens a Version Packages PR and publishes on merge with
per-package git tags.
@bryzettler bryzettler force-pushed the feat/workflow-dispatch-publish branch from 4e4dd85 to a783137 Compare April 6, 2026 21:42
@bryzettler bryzettler requested a review from ChewingGlass April 6, 2026 21:43
@bryzettler bryzettler changed the title chore: replace v* tag trigger with workflow_dispatch for npm publish chore: automate npm publishing with changesets/action Apr 6, 2026
@bryzettler bryzettler merged commit 97e4704 into develop Apr 6, 2026
7 checks passed
@bryzettler bryzettler deleted the feat/workflow-dispatch-publish branch April 6, 2026 21:51
@github-actions github-actions bot mentioned this pull request Apr 6, 2026
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