Add automated release workflow with Changesets - #43
Merged
Merged
Conversation
- Add release workflow that creates version PRs and publishes to npm - Configure @changesets/changelog-github for PR-linked changelogs - Update release script to remove interactive npm login Requires NPM_TOKEN secret to be set in GitHub repo settings. https://claude.ai/code/session_017yqDEwFCXoMnk7ZCPAQMfB
Adds a comment on PRs indicating whether a changeset is included, reminding contributors to add one when needed. https://claude.ai/code/session_017yqDEwFCXoMnk7ZCPAQMfB
The changeset-bot is a GitHub App, not an Action. Install it at: https://github.com/apps/changeset-bot https://claude.ai/code/session_017yqDEwFCXoMnk7ZCPAQMfB
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
This PR implements an automated release workflow using GitHub Actions and Changesets, enabling continuous deployment of packages to npm when changes are merged to the main branch.
Key Changes
.github/workflows/release.yml): Automated CI/CD pipeline that triggers on pushes to main, builds the project, and uses Changesets to manage versioning and publishing.changeset/config.json): Switched from default changelog to GitHub-integrated changelog generator for better release notespackage.json): Removed manualnpm loginstep and added build step to the release command, as the GitHub Actions workflow now handles authentication viaNODE_AUTH_TOKENpackage.json): Installed@changesets/changelog-githubfor generating release notes linked to GitHub issues and PRsImplementation Details
NPM_TOKENsecret to be configured for npm package publishinghttps://claude.ai/code/session_017yqDEwFCXoMnk7ZCPAQMfB