Xova
Guides

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.

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 verifyJSON fields
Record formatschemaVersion is 1, status is published
Package identityrepository, packageName, version (registry version), sourceVersion (including build metadata), npmTag (resolved dist-tag)
Source and contentsreleaseTag, sourceSha, tarballSha256 (digest of the original file verified before publication)
GitHub runrunId, 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

ConditionOutcome or action
Candidate checks failed, publication was skipped, or npm failedNo success receipt is generated.
Writing the job summary failedA warning is logged. JSON upload continues and publication outputs remain available.
npm succeeded but writing JSON, writing GITHUB_OUTPUT or uploading the receipt failedThe 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.

Copyright © 2026