npm install
npm run package:watch
npm test
npm run all
node dist/index.js
It is necessary to manually update, commit and push the version in the
package.json
file. Normally, the version should be updated according to the
Semantic Versioning. And this happens in a pull request.
Note: Only step 1 is necessary for a pull request.
After that a helper script is available to streamline the process of tagging and pushing new releases for GitHub Actions.
It performs the following steps:
- Get the latest release tag
- Prompt the user for a new release tag (while displaying the latest release tag, and a regular expression to validate the new tag)
- Tag the new release
- Push the new tag to the remote
./scripts/release.sh