puniyu/setup-node

设置Node作

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 15, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: puniyu/setup-node@a4a194a6c2313ebd8cfb659546e13f3c11eb5e3c # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
node-versionNode.js version to useno
registry-urlOptional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN.nohttps://registry.npmjs.org
scopeOptional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).no
architectureOptional architecture for Node.js (e.g., x64, arm64). If not specified, defaults to the runner architecture.no
pnpm-versionOptional pnpm version to install. If not specified, will use the latest available version.no

no outputs