Skip to content

Commit 1b6c981

Browse files
lidge-junclaude
andcommitted
fix(ci): pin Node 22 for the Astro build (Astro 6 requires >=22.12.0)
withastro/action defaults to Node 20, which Astro 6 rejects ("Node.js v20 is not supported"). Set node-version: 22 so `astro build` runs on a supported runtime. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 76ab172 commit 1b6c981

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
uses: withastro/action@v3
3232
with:
3333
path: ./docs-site
34+
node-version: 22 # Astro 6 requires Node >= 22.12.0 (the action defaults to 20)
3435
package-manager: bun@latest
3536

3637
deploy:

0 commit comments

Comments
 (0)