pnpm install
pnpm test
pnpm buildUse npm version patch/minor/major to release — it runs lint, tests, and build,
then pushes the version tag which triggers the publish workflow.
Releases publish automatically via GitHub Actions using npm trusted publishing
(OIDC, no stored token). The workflow requires --provenance and
id-token: write permissions.
This repo is already configured. To set up a new package:
npm trust github <pkg> --file publish.yml --repo GMOD/<repo> (requires
npm >=11.10.0 and 2FA).