---
title: "npm publication results"
description: "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."
canonical_url: "https://actions.xovajs.com/en/guides/publication-results"
---
# 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 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](https://actions.xovajs.com/en/guides/releasing#failure-recovery) if the GitHub Release or docs deployment stopped.


## Sitemap

See the full [sitemap](https://actions.xovajs.com/sitemap.md) for all pages.
