- (Almost certainly) be on latest main, with no unpublished changes
- Run
npm version (patch|minor|major)as appropriate - Run
git pushandgit push origin TAGwhereTAGis the tag thatnpm versionjust created
The tag triggers a GitHub Actions job to publish to npm.