Skip to content

fix: bump CI Node to 22 for Astro 7 compatibility - #2

Closed
ronaldtse wants to merge 1 commit into
mainfrom
fix/ci-node-22
Closed

fix: bump CI Node to 22 for Astro 7 compatibility#2
ronaldtse wants to merge 1 commit into
mainfrom
fix/ci-node-22

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

  • Both CI and Deploy workflows failed on the initial push to main because Astro 7.2 requires Node.js >= 22.12, but the workflows pinned Node 20.
  • Bumps setup-node to 22 in both ci.yml and deploy.yml, and tightens engines.node in package.json to match.

Test plan

  • CI workflow on this PR runs green (lint, typecheck, test, build)
  • After merge: Deploy workflow builds and publishes to GitHub Pages
  • https://claricle.github.io/ returns 200 with the rendered home page

Astro 7.2 requires Node >= 22.12. The previous workflows used Node 20,
which caused both CI and Deploy to fail on first run.

Bumps:
- .github/workflows/ci.yml: node-version 20 -> 22
- .github/workflows/deploy.yml: node-version 20 -> 22
- package.json engines.node: >=20.0.0 -> >=22.12.0
@ronaldtse

Copy link
Copy Markdown
Contributor Author

Superseded by # — this CI fix is included in the new branch.

@ronaldtse ronaldtse closed this Aug 7, 2026
@ronaldtse
ronaldtse deleted the fix/ci-node-22 branch August 7, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant