kt-actions/Prepare and run scripts in Node.js environment

Setup Node.js environment and run scripts. Uses caches for node and npm_modules.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
node-versionConcrete Node.js version to use
matrix-node-versionVersion Spec array, i.e. from matrix.node-version. Latest will be selected from this array and setup-node will be run with the selected version.
matrix-node-version-earliestSet this option if you want the action to select for the earliest available version that satisfies the version spec.false
install-scriptBash script to run after setting up Node.js.npm ci
run-scriptBash script to run after setting up Node.js.
cache-additional-pathAdditional paths to cache. This is a multi-line list of paths.
cache-resetDelete the cache if it exists to cache the new one.false
working-directoryThe working directory which contains the **/package-lock.json files.

no outputs