actions-marketplace-validations/Publish branch to npm
Publish a pre-release version of an npm package to the registry
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 24, 2026
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/wistia_publish-branch-to-npm@27996986042cf12b0fc7efb26b3b6d78328cb1b5 # no releases — HEAD as of 2026-07-12tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GitHub authorization token | yes | — |
| npm_token | npm authorization token | yes | — |
| commit_hash | SHA-1 hash of the commit to publish | yes | ${{ github.event.pull_request.head.sha }} |
| workspace | Can be used to specify a workspace to publish (ie. @organization/workspace) | no | "" |
| dry_run | If true, will run action normally except it will not publish anything to npm | no | false |
| working_directory | The directory to run commands in (ie. the root directory of the package/s) | no | . |
Outputs
no outputs