actions-marketplace-validations/Publish branch to npm

Publish a pre-release version of an npm package to the registry

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 24, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/wistia_publish-branch-to-npm@27996986042cf12b0fc7efb26b3b6d78328cb1b5 # no releases — HEAD as of 2026-07-12

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenGitHub authorization tokenyes
npm_tokennpm authorization tokenyes
commit_hashSHA-1 hash of the commit to publishyes${{ github.event.pull_request.head.sha }}
workspaceCan be used to specify a workspace to publish (ie. @organization/workspace)no""
dry_runIf true, will run action normally except it will not publish anything to npmnofalse
working_directoryThe directory to run commands in (ie. the root directory of the package/s)no.

no outputs