This project uses automated releases with bumpp and GitHub Actions.
Run the release script:
pnpm run releaseThis will:
- Prompt you to select the version bump (patch/minor/major)
- Update the version in package.json
- Generate/update CHANGELOG.md
- Create a git commit with the version bump
- Create a git tag
- Push the commit and tag to GitHub
- The GitHub Action will automatically publish to npm
You can also trigger the release workflow manually from GitHub:
- Go to Actions → Release workflow
- Click "Run workflow"
- This will publish the current version to npm
- You must have push access to the repository
- The repository must have the
NPM_TOKENsecret configured - Conventional commits are recommended for better changelog generation
- Patch (x.x.1): Bug fixes, documentation updates
- Minor (x.1.0): New features, non-breaking changes
- Major (1.0.0): Breaking changes
If the release fails:
- Check GitHub Actions logs
- Ensure NPM_TOKEN is valid
- Verify you have proper permissions
- Make sure all tests pass before releasing