This repo uses the release-please-action
from Google to manage releases. In practice:
- Merge a PR with a conventional commit message. This shoud not do any version bumping or anything like that; this PR should just change code (adding a feature, fixing a bug, etc)
- The GitHub workflow running the
release-please-action
will execute when a commit is merged tomaster
. If this workflow deems a new release necessary, it will create another PR that bumps the versions & does that sort of housekeeping. - A new GitHub release will be created
- A second GitHub workflow will execute as a result of the new release being created. This workflow is responsible for building the new version of the package & publishing it to
npm
.