This project uses the Changesets tool to manage semantic versioning and release notes.
Permit GitHub Actions to create and approve pull requests:
- Go to Actions -> General in the repository settings: (
https://github.com/<user>/<repo>/settings/actions) - In
Workflow permissionsenable the toggle forAllow GitHub Actions to create and approve pull requests(it is not required to also toggle theRead and write permissionoption)
npx changesetFollow the prompt to choose the major/minor/patch version and affected packages (if a monorepo).
git add .changeset/
git commit -m "chore: add changeset for release"
git push origin HEADThe Changesets GitHub Action will pick up the new changeset in the repository and open a new pull request with the versioning changes in the relevant package manifest files. Review the changes and merge the pull request.
The GitHub Action will automatically publish the package to the npm registry.