Files
bircni a8d0d8a7e0 enhance: run JavaScript actions on a pinned Node.js (#1400)
- The runner downloads its own Node.js 24 for JavaScript actions and `hashFiles()`, as GitHub's runner does, so job images and hosts no longer need `node`.
- Each build's version and SHA-256 are pinned and kept current by the weekly Renovate updates, from nodejs.org (or `NODEJS_ORG_MIRROR`) and, for Alpine, from https://github.com/actions/alpine_nodejs.
- Host, Docker and Kubernetes jobs use it, Docker jobs share one read-only volume per version.
- `runner.node_version` downloads a different version instead, checked against its published SHA-256.
- Where it can't be provided, jobs use the `node` on `PATH`, and `runner.node_download: false` always does.

Fixes: https://gitea.com/gitea/runner/issues/1393
Fixes: https://gitea.com/gitea/runner/issues/538

_Written by Claude (Opus 5.5)._
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: silverwind <2021+silverwind@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/runner/pulls/1400
Reviewed-by: silverwind <2021+silverwind@noreply.gitea.com>
2026-11-27 16:31:36 +00:00
..
2026-08-06 21:50:21 +00:00
2026-11-05 07:33:17 +00:00