Repository navigation
feat(ci): add release workflow for automatic changelog and publish - #28
Merged
Merged
Conversation
Adds a GitHub Actions workflow that opens a Version Packages PR from pending changesets and, once merged, publishes to GitHub Packages and npm and cuts a GitHub Release from the CHANGELOG. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
test: Run #42
🎉 All tests passed!Github Test Reporter by CTRF 💚 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/release.ymlusingchangesets/action@v1: opens/updates a "Version Packages" PR from pending changesets (bumpingpackage.json+ writingCHANGELOG.md), and on merge publishes to GitHub Packages + npm underlatest, tags, and creates a GitHub Release from the changelog.releasescript (changeset publish) topackage.jsonfor the workflow to invoke.auto-changelog-on-releasedocuments the proposal/design/specs/tasks for this.Once merged, this will immediately open a Version Packages PR consuming the 18 changesets currently pending in
.changeset/, producing the project's first stable release when that PR is merged.Test plan
developand confirm the release workflow runs and opens a "Version Packages" PR bumpingpackage.jsonand addingCHANGELOG.mdfrom the 18 pending changesetslatest, creates a git tag, and creates a GitHub Release using the newCHANGELOG.mdsectionworkflow_dispatch) after a successful publish and confirm it does not attempt to republish or create a duplicate release🤖 Generated with Claude Code