- Create npm token with publish access.
- Add
NPM_TOKENsecret to GitHub Actions.
npm ci
npm run release:checknpm version patch
git push origin main --follow-tags- Pushing tag
v*triggers.github/workflows/release.yml - Workflow builds and publishes to npm.
npm publish --access public