- Install dependencies with
npm ci
. - Run tests with
npm run test:ci
. - Follow Conventional Commits specification for every commitmessage.
All merged PR to main
branch trigger github actions release and publish workflow.
- Prepare your release into
main
orrelease/*
branch. - Run
npm run version
and look what happens.- Or
npm run version -- --no-push
andgit push --follow-tags
you are not sure.
- Or
- Run one of following
npm run publish:ci
npm run publish:ci:beta
Pre-release:
Do the same as above, except this cases:
- prev version isn't prerelease, but next must be prerelease:
npm run version -- --conventional-prerelease
- prev version is prerelease, but next must be release:
npm run version -- --conventional-graduate