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:
2026-11-27 13:50:07 +00:00
co-authored by Claude Opus 5.5
parent 04a447813c
commit 27260ee85e
4 changed files with 47 additions and 1 deletions
+2
View File
@@ -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