-
Notifications
You must be signed in to change notification settings - Fork 0
Maintainer Information
Releases run through the Release GitHub Actions workflow. There is no local release script.
- Go to Actions > Release > Run workflow and enter the version, for example
0.2.0. - The workflow validates the version (plain X.Y.Z, tag must not exist yet), runs the full quality gate (lint, format check, typecheck, tests, build), bumps
package.jsonandpackage-lock.json, prepends auto-generated release notes toCHANGELOG.md, commits, tagsv<version>, creates the GitHub release, and publishes@eclipsesource/review-guard-mcpto npm.
Publishing uses npm trusted publishing with OIDC. No npm token is stored in the repository and provenance attestations are attached automatically.
-
The very first publish must be manual, because the package has to exist on npmjs.com before a trusted publisher can be configured:
npm login # an account with publish rights in the @eclipsesource org npm publish # prepack builds dist/ automatically
-
On npmjs.com, open the package settings, choose Trusted Publisher, and configure GitHub Actions with organization
eclipsesource, repositoryreview-guard, and workflow filenamerelease.yml. -
If
mainis branch-protected, allow thegithub-actionsbot to push the release commit, or add the workflow to the bypass list. -
Once the repository is public, enable Settings > Code security > Private vulnerability reporting so the reporting flow described in SECURITY.md is available.
- A 404 from
npm publishusually means the trusted publisher configuration does not match the workflow. Check that organization, repository, and workflow filename are exact. - The workflow refuses versions whose tag already exists. Pick the next version instead of reusing one.