- Install dependencies with
npm сi. - Run tests with
npm run test:ci. - Follow Conventional Commits specification for every commitmessage.
All merged PR to master branch trigger github actions release and publish workflow.
- Prepare your release into
masterorrelease/*branch. - Run
npm run versionand look what happens.- Or
npm run version -- --no-pushandgit push --follow-tagsyou are not sure.
- Or
- Run one of following
npm run publish:cinpm 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