changesets/action/publish

August 3, 2026 ยท View on GitHub

This action publishes packages to npm.

Requirements

Usage

Tip

Check out the docs to learn how to set up the version and publish workflow.

API

InputsDescription
github-tokenThe GitHub token to use for authentication. Defaults to the GitHub-provided token. To use a custom token, pass it explicitly to this input.
scriptThe command to use to publish packages
pack-dir-artifact-idArtifact id for packed publish output generated by the pack subaction
create-github-releasesWhether to create Github releases after publish
push-git-tagsWhether to create git tags after publish. If create-github-releases is set to true, this option will also always be true.
OutputsDescription
publishedA "true" or "false" string value to indicate whether a publishing has happened or not
published-packagesA JSON array to present the published packages. The format is [{"name": "@xx/xx", "version": "1.2.0"}, {"name": "@xx/xy", "version": "0.8.9"}]