Install node for host-mode JavaScript actions
In host mode the runner runs actions/checkout and friends with the host's node, and stpbuild had none: salary-insights' first run there failed with 'Cannot find: node in PATH'. RUNNER_NODE_VERSION in a host file installs that release from nodejs.org (sha256 from SHASUMS256.txt) as /usr/local/bin/node. stpbuild pins Node 24, the actions' runtime; Renovate bumps it within the major. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -6,3 +6,5 @@ RUNNER_NAME=stpbuild-runner
|
||||
RUNNER_USER=adamf
|
||||
RUNNER_CAPACITY=2
|
||||
RUNNER_LABELS="build:host"
|
||||
# For JavaScript actions in host jobs (actions/checkout@v5 is node24).
|
||||
RUNNER_NODE_VERSION=24.22.3
|
||||
|
||||
Reference in New Issue
Block a user