npm publication results
Check the package name, version and tarball digest in the publish job summary or the same run’s publication-result.json. The receipt still records npm success if the GitHub Release or docs deployment later fails.
Receipt fields
| What to verify | JSON fields |
|---|---|
| Record format | schemaVersion is 1, status is published |
| Package identity | repository, packageName, version (registry version), sourceVersion (including build metadata), npmTag (resolved dist-tag) |
| Source and contents | releaseTag, sourceSha, tarballSha256 (digest of the original file verified before publication) |
| GitHub run | runId, runAttempt, runUrl. |
publish-npm and publish.yml return source-sha, version, tarball-sha256 and receipt-artifact-name. Download the JSON-only artifact by its receipt-artifact-name. Repository retention defaults apply.
If the receipt is missing
| Condition | Outcome or action |
|---|---|
| Candidate checks failed, publication was skipped, or npm failed | No success receipt is generated. |
| Writing the job summary failed | A warning is logged. JSON upload continues and publication outputs remain available. |
npm succeeded but writing JSON, writing GITHUB_OUTPUT or uploading the receipt failed | The job can fail after publication. Verify npm logs, registry and provenance. Do not republish. |
For an expired receipt, verify the package name, version and source SHA the same way. See failure recovery if the GitHub Release or docs deployment stopped.
release-it configuration
Workflow and action interfaces
Shared workflows use GitHub.com hosted Ubuntu runners with Node 24 by default. Projects can use mise and choose their triggers, permissions and checks. For another runner or step order, call the public composite actions from a project job and test on that runner.