actions-marketplace-validations/Use NPM Token

Use an NPM token within an .npmrc file inside GitHub actions. Scoped packages are the primary use case.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jul 30, 2020
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/dkershner6_use-npm-token-action@99c5b17c84a15e44fdcef6712b34b76f8f0493b0 # no releases — HEAD as of 2026-07-10

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

namedescriptionrequireddefault
tokenAn NPM token with whatever access is needed for your GitHub Action workflow yes
workspaceThe location of your Node workspace (needs to be a sibling of package.json)no./

no outputs