Skip to content

Commit b1d0b38

Browse files
authored
ci(deploy): bump Node to 22 for Astro >=22.12.0 requirement (#56)
1 parent 2472c4a commit b1d0b38

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,13 @@ jobs:
9696
- name: Setup Node
9797
uses: actions/setup-node@v5
9898
with:
99-
# Match sibling `sourcebans-pp/.github/workflows/docs-build.yml`
100-
# and the documented floor in `sourcebans-pp/docs/README.md`
101-
# ("Node 20 LTS or newer"). Asymmetry between the validation
102-
# gate and the deploy would mean a build that passes CI could
103-
# still fail here.
104-
node-version: '20'
99+
# Astro requires Node >=22.12.0 (build fails on 20 with an
100+
# explicit unsupported-engine error). Keep this in lockstep
101+
# with sibling `sourcebans-pp/.github/workflows/docs-build.yml`
102+
# and the documented floor in `sourcebans-pp/docs/README.md`:
103+
# asymmetry between the validation gate and the deploy would
104+
# mean a build that passes CI could still fail here.
105+
node-version: '22'
105106
cache: 'npm'
106107
cache-dependency-path: docs/package-lock.json
107108

0 commit comments

Comments
 (0)