ci: install the latest Node 22 instead of the runner's cached one
CI / build (pull_request) Successful in 28s

Astro 7.4.12 requires Node >=22.23.4; the Gitea runner's tool cache had 22.23.1, so astro build refused to start.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-11-17 17:11:51 -06:00
1 parent ccfb237ab9
commit 8db3408ea2
3 files changed
+3

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ jobs:
- uses: actions/setup-node@v5
with:
node-version: '22'
check-latest: true # the runner's cached 22 can lag behind Astro's minimum
- run: npm ci
# Only a critical advisory blocks, as in release.yml. The site ships built files, not
# node_modules; a build-time advisory with no published fix would otherwise block every PR.