From 8db3408ea25f96cea5360b47607cdbd3b03a644e Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Tue, 17 Nov 2026 17:11:51 -0600 Subject: [PATCH] ci: install the latest Node 22 instead of the runner's cached one 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 --- .github/workflows/audit.yml | 1 + .github/workflows/ci.yml | 1 + .github/workflows/release.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 704d4c6..54723b8 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -20,6 +20,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 - name: Audit diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 918e35f..f7041f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1ab8148..d6cc3fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,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 - name: Validate release tag run: npm run verify:release - run: npm ci