Step 1: Actions → "Create Release PR" → Run workflow → Select type
Step 2: Review PR → Merge PR → ✨ Auto-published!
- Go to Actions tab in GitHub
- Select "Create Release PR" workflow
- Click "Run workflow"
- Select release type:
auto(recommended) - automatically determines version from commitspatch- bug fixes (1.3.12 → 1.3.13)minor- new features (1.3.12 → 1.4.0)major- breaking changes (1.3.12 → 2.0.0)
- Click "Run workflow" button
- Wait ~1 minute for PR to be created
Result: A PR will be created with title like [Release] v1.3.13
- Open the created PR
- Review the changes:
- Check version number in PR title
- Review release notes
- Verify CHANGELOG.md looks correct
- Request reviews if needed
- Click "Merge pull request"
Result: Package automatically published to npm! 🎉
After merge, the publish workflow runs automatically:
| Scenario | Release Type | Example |
|---|---|---|
| Bug fixes only | patch |
1.3.12 → 1.3.13 |
| New features (backward compatible) | minor |
1.3.12 → 1.4.0 |
| Breaking changes | major |
1.3.12 → 2.0.0 |
| Not sure? Let it decide | auto |
Determined by commits |
💡 Use auto type - It analyzes your commit messages and determines the right version bump
💡 Write good commit messages - Use conventional commits:
feat: add new feature # triggers minor bump
fix: resolve bug # triggers patch bump
feat!: breaking change # triggers major bump💡 Review before merging - The PR lets you verify everything before publishing
💡 No rush - You can keep the PR open, make changes, and merge when ready
Need to publish without PR? Use workflow dispatch:
- Make sure version in
package.jsonis correct - Actions → "Publish Release" → Run workflow
# 1. Make your changes using conventional commits
git add .
git commit -m "feat: add new proxy feature"
git commit -m "fix: resolve connection timeout issue"
git push origin main
# 2. Create release PR (GitHub Actions)
# Go to Actions → "Create Release PR" → Run workflow
# Select release type: 'auto'
# Click "Run workflow"
# 3. Review the generated PR
# - Check the version number
# - Review CHANGELOG.md updates
# - Verify the release notes
# 4. Merge the release PR
# Click "Merge pull request" on the PR
# 5. Automated publish workflow runs
# - ✅ Creates tag v1.4.0
# - ✅ Creates GitHub release with notes
# - ✅ Publishes @requestly/requestly-proxy@1.4.0 to npm
# 6. Verify the release
# Check npm: https://www.npmjs.com/package/@requestly/requestly-proxy
# Check GitHub: https://github.com/requestly/rq-proxy/releases
# 7. Done! 🎉- Check the Actions tab for errors
- Verify you have write permissions to the repository
- Ensure all dependencies are installed
- Ensure PR branch is exactly
release - Verify PR was merged (not just closed)
- Check that PR target was
mainbranch
- Verify
NPM_TOKENsecret is set in repository settings - Check token has publish permissions
- Ensure version doesn't already exist on npm
Questions? Check the workflow files in .github/workflows/ or contact the maintainers.