- adjust code
- create tests
- run
npm version <newversion> -m "<message>"
(major | minor | patch) further see npm version
The preversion script runs the tests and the postversion script pushes the tags created by npm version
so then the GitHub Action can run and publish the package.