lfreleng-actions/node-build-action
Setup Node.js and build a project with npm or yarn
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 8, 2026
- License
- None
Pinned Snippet
uses: lfreleng-actions/node-build-action@240bf4111c4ae035762a4ededde2a3c2d17237be # v0.2.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| node_version | Node.js version to use for build/install | no | 22 |
| build_tool | Tool used to perform the build [npm|yarn] | no | npm |
| path_prefix | Path/directory to Node.js project code | no | — |
| npm_flags | Flags to pass to npm | no | — |
| yarn_flags | Flags to pass to yarn | no | — |
| scripts | Scripts to execute from package.json | no | build |
| exit_on_fail | Exit with error if a script is not found in package.json | no | true |
Outputs
no outputs