jaid/npm/yarn/pnpm install
GitHub Action for installing Node dependencies from package.json with the correct package manager automatically selected.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| nodeEnv | NODE_ENV setting for installing execution (affects the amount of dependencies installed, but I would recommend keeping development in any case). | no | development |
| packageManager | Can be "npm", "yarn", "pnpm" or "auto". "auto" will determine the package manager by looking into the repo's files. This is very accurate, so you normally don't want to change this. | no | auto |
| skipIfNodeModulesExists | If true and node_modules folder already exists, this action will be skipped assuming npm install is not required. | no | false |
Outputs
no outputs