lfreleng-actions/node-build-action

Setup Node.js and build a project with npm or yarn

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 8, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: lfreleng-actions/node-build-action@240bf4111c4ae035762a4ededde2a3c2d17237be # v0.2.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
node_versionNode.js version to use for build/installno22
build_toolTool used to perform the build [npm|yarn]nonpm
path_prefixPath/directory to Node.js project codeno
npm_flagsFlags to pass to npmno
yarn_flagsFlags to pass to yarnno
scriptsScripts to execute from package.jsonnobuild
exit_on_failExit with error if a script is not found in package.jsonnotrue

no outputs