puniyu/setup-node
设置Node作
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 15, 2026
- License
- MIT
Pinned Snippet
uses: puniyu/setup-node@a4a194a6c2313ebd8cfb659546e13f3c11eb5e3c # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| node-version | Node.js version to use | no | — |
| registry-url | Optional 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. | no | https://registry.npmjs.org |
| scope | Optional 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 | — |
| architecture | Optional architecture for Node.js (e.g., x64, arm64). If not specified, defaults to the runner architecture. | no | — |
| pnpm-version | Optional pnpm version to install. If not specified, will use the latest available version. | no | — |
Outputs
no outputs