This package is published to npm as @stemsplit/sdk via GitHub Actions.
Never publish directly from your local machine.
-
Bump the version in
package.json(follow semver). -
Update
CHANGELOG.mdwith the new version and release notes. -
Commit the version bump:
git add package.json CHANGELOG.md git commit -m "chore: release v<version>" -
Tag the release:
git tag v<version> git push origin main --tags
-
GitHub Actions (
.github/workflows/publish.yml) detects thev*tag, runsnpm run build, and publishes with provenance to the@stemsplitnpm scope.
- The
@stemsplitnpm org must exist and theNPM_TOKENsecret must be added to the repo's GitHub Actions secrets withpublishaccess to@stemsplit/sdk.
npm info @stemsplit/sdk versions
npx -y @stemsplit/sdk@<version> --version # if a binary were shipped| GitHub repo | npm package |
|---|---|
StemSplit/node-stemsplit |
@stemsplit/sdk |