dafnik/Setup node and pnpm
Setup node, pnpm and the caching
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| pnpm | PNPM version to install (leave empty to read "packageManager" configuration of your "package_file" | no | — |
| node | Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0. | no | 24 |
| node-file | File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions. If "node" and "node-file" are both provided the action will use the version from "node-file". | no | "" |
| cwd | Work directory | no | . |
| package_file | File path to the "package.json" to read "packageManager" configuration (also supports package.yml). Works in conjunction with "cwd" input. | no | package.json |
| install | Runs pnpm install | no | false |
| install-ignore-scripts | Runs pnpm install --ignore-scripts | no | false |
Outputs
no outputs