Run npm checks with the pinned Node path
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 12m40s
Validate and deploy Sokko G / deploy (push) Has been skipped

This commit is contained in:
Shinuwa 2026-10-23 22:25:13 +02:00
parent 8e8e7ba8d6
commit 1ad26a0acd
3 changed files with 6 additions and 1 deletions

View file

@ -75,7 +75,7 @@ command -v flock >/dev/null
exit 1
}
[[ "$($NODE_BIN --version)" == "v24.11.1" ]]
[[ "$($NPM_BIN --version)" == "11.17.0" ]]
[[ "$(env PATH="$NODE_HOME/bin:/usr/bin:/bin" "$NPM_BIN" --version)" == "11.17.0" ]]
systemctl show --property=ExecStart --value "$SERVICE_NAME" | grep -Fq "$NPM_BIN"
exec 9>"$LOCK_FILE"