alleyinteractive/Run node tests
Setup Node environment and run install, audit, test, and build commands
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| node-version | Node.js version to use | no | lts/* |
| npm-version | npm version to use if different from the default | no | "" |
| working-directory | Directory to run the commands in | no | . |
| cache-dependency-path | Path to the dependency file to use for caching (relative to working-directory) | no | package-lock.json |
| install-skip | Skip npm install | no | false |
| skip-install | Skip npm install | no | false |
| install-command | Command to run npm ci/install | no | npm ci |
| audit-skip | Skip npm audit | no | false |
| skip-audit | Skip npm audit | no | false |
| audit-command | Command to run npm audit | no | npm audit --audit-level=high --omit=dev --package-lock-only |
| test-skip | Skip tests | no | false |
| skip-test | Skip tests | no | false |
| test-command | Command to run tests | no | npm test |
| build-skip | Skip build | no | false |
| skip-build | Skip build | no | false |
| build-command | Command to run build | no | npm run build |
| cache-node-modules | Cache node_modules (in addition to setup-node npm cache) | no | false |
Outputs
no outputs