name: Changesets - Publish description: Publish packages to npm runs: using: node24 main: ../dist/publish.js inputs: github-token: description: "The GitHub token to use for authentication. Defaults to the GitHub-provided token." required: false default: ${{ github.token }} script: description: "The command to use to publish packages" required: false stage: description: > Whether to use staged publishing. Omit to use the Changesets config, set to true for --stage, or false for --no-stage. Cannot be combined with a custom script. required: false pack-dir-artifact-id: description: "Artifact id for packed publish output generated by the pack subaction" required: false create-github-releases: description: "Whether to create Github releases after publish" required: false default: true push-git-tags: description: > Whether to create git tags after publish. If `create-github-releases` is set to `true`, this option will also always be `true`. required: false default: true outputs: published: description: "A boolean value to indicate whether a publishing has happened or not" published-packages: description: > 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"}]` staged-release-artifact-id: description: "Artifact id for the staged release handoff" branding: icon: package color: blue