This is an example library that was created for the demo purpose of article https://blog.oleksiipopov.com/2023/03/09/feature-branches-approach-in-ci-cd-of-npm-libraries/
- Install Node LTS
- Go through the "Bootstrapping your library" section if you have no versions in NPM yet
npm ci
The next steps are applicable only for the situation when you don't have a library in the NPM repo yet
Sign in to NPM locally
npm login
npm publish
npx standard-version
npm publish
git push origin main