- Merge feature branches, bug fixes, and whatever changes into
main
after CI passes and PRs are approved - Create a new branch off
main
when you're ready to release a new version - On this branch make a commit to update unpkg links in the README to pull in the lastest version
- On this branch run
npm version [...]
(seenpm-version
docs for more info) which will bump the version inpackage.json
and make a tag (for examplenpm version patch -m "Bump for 3.1.2"
). Follow SemVer rules for patch/minor/major. - Push the version commit and the tag
git push && git push --tags origin
- Open Pull Request, "Rebase and merge" after approved
- Create a new release in the Github UI, give the release a name and add release notes (creating the release will kick off npm publish)