ci: install the latest Node 22 instead of the runner's cached one
CI / build (pull_request) Successful in 28s
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:
3 files changed
+3
No files matched your search
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user