Files
changesets-action/publish
Bjorn Lu 64b747d5f5 Update all the docs (#703)
* Update all the docs

* Fix heading
2026-07-31 14:33:09 +00:00
..
2026-07-31 14:33:09 +00:00
2026-07-31 14:33:09 +00:00

changesets/action/publish

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

Inputs Description
github-token The GitHub token to use for authentication. Defaults to the GitHub-provided token.
script The command to use to publish packages
pack-dir-artifact-id Artifact id for packed publish output generated by the pack subaction
create-github-releases Whether to create Github releases after publish
push-git-tags Whether to create git tags after publish. If create-github-releases is set to true, this option will also always be true.
Outputs Description
published A "true" or "false" string value to indicate whether a publishing has happened or not
published-packages A JSON array to present the published packages. The format is [{"name": "@xx/xx", "version": "1.2.0"}, {"name": "@xx/xy", "version": "0.8.9"}]