Skip to content

Commit c880957

Browse files
committed
ci(docs): bump runner Node from 20 to 22 for Astro 6 floor
Astro 6 raised its Node floor to `>=22.12` (`engines.node` in the astro@6.x manifest, EBADENGINE warning at install time + a hard "Node.js v20 is not supported by Astro!" abort at `astro build`). Bumping the docs-build / docs-screenshots-build / docs-screenshots-capture runners to Node 22 unblocks the paired astro@^5 → ^6 + @astrojs/starlight@^0.30 → ^0.39 dependency bump in this PR. The web panel's runtime stack is unaffected (PHP 8.5; the only client-side TS check runs over `web/scripts/` and stays on Node 20 via `ts-check.yml`).
1 parent cba8efc commit c880957

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/docs-build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ jobs:
3535
- name: Setup Node
3636
uses: actions/setup-node@v4
3737
with:
38-
node-version: '20'
38+
# Astro 6 requires Node >=22.12; 20 trips an EBADENGINE on `npm
39+
# ci` and a hard "Node.js v20 is not supported by Astro!" on
40+
# `astro build`. Bumped together with the docs astro+starlight
41+
# group bump (#1346).
42+
node-version: '22'
3943
cache: 'npm'
4044
cache-dependency-path: docs/package-lock.json
4145

.github/workflows/docs-screenshots-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ jobs:
4343
- name: Setup Node
4444
uses: actions/setup-node@v4
4545
with:
46-
node-version: '20'
46+
# Astro 6 requires Node >=22.12; mirrors the bump in
47+
# docs-build.yml that landed with the docs astro+starlight
48+
# group bump (#1346).
49+
node-version: '22'
4750
cache: 'npm'
4851
cache-dependency-path: docs/package-lock.json
4952

.github/workflows/docs-screenshots-capture.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ jobs:
143143
- name: Setup Node
144144
uses: actions/setup-node@v4
145145
with:
146-
node-version: '20'
146+
# Astro 6 requires Node >=22.12; mirrors the bump in
147+
# docs-build.yml that landed with the docs astro+starlight
148+
# group bump (#1346).
149+
node-version: '22'
147150
cache: 'npm'
148151
cache-dependency-path: trusted/docs/package-lock.json
149152

0 commit comments

Comments
 (0)