Releasing
Releasing
A release is made by hand from the Release workflow. Nothing is published automatically.
Before the first release (once)
These steps need the maintainer’s accounts and are not done by the repository:
- The repository account (
tommasomarchionni) is set inpackage.json,.github/CODEOWNERS,.github/ISSUE_TEMPLATE/config.ymland the README badges. Change them together if the repository moves to an organization. - Decide the npm package name and publish scope (the name
omp-channelmay be taken or may be better under a scope). - On npmjs.com add a trusted publisher for the package: owner, repository, workflow file name
release.yml(exact, with the extension). Therepository.urlinpackage.jsonmust match the repository exactly. A first publish with a token may be needed to create the package; after that, disallow tokens in the package settings. - Close or accept the open rows in omp-verification.md, or keep the README statement of the gap.
Each release
- Update
versioninpackage.jsonand move theUnreleasedentries ofCHANGELOG.mdunder the new version and date, in a pull request. - After it is merged, run the Release workflow with that version. It checks that the input
equals
package.json, runsnpm run checkand creates the tag and the GitHub release. - To publish to npm, tick
publish. The job uses OIDC (id-token: write) with npm 11.5.1 or later on Node 24, so no token is stored. Provenance is attached automatically for a public repository and a public package.
Check a release locally without publishing: npm run pack:check.