Skip to content

fix: bump Node.js 20 → 24 for Astro 6 docs-site compatibility#414

Merged
avrabe merged 1 commit intomainfrom
fix/bump-nodejs-for-astro6
Mar 21, 2026
Merged

fix: bump Node.js 20 → 24 for Astro 6 docs-site compatibility#414
avrabe merged 1 commit intomainfrom
fix/bump-nodejs-for-astro6

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Mar 21, 2026

Summary

Astro 6.x requires Node.js 22+. The hermetic jco toolchain was pinned to Node 20.18.0, causing all docs-site builds to fail with Node.js v20.18.0 is not supported by Astro!

Bumps Node.js from 20.18.0 to 24.14.0 (current LTS) in MODULE.bazel, tool_versions.bzl, and language_extensions.bzl. jco has no Node.js engine constraints.

This should fix the Test on ubuntu-latest and Test on macos-latest CI failures that have been failing since the Astro 6 + starlight 0.38 merge.

Test plan

  • Rust component builds with Node 24 (local)
  • JS component builds with Node 24 (local)
  • Test on ubuntu-latest passes (docs-site builds)
  • Test on macos-latest passes

🤖 Generated with Claude Code

Astro 6.x (merged in #406 via @astrojs/starlight 0.38.x) requires
Node.js 22+. The hermetic jco toolchain used Node 20.18.0, causing
docs-site builds to fail: "Node.js v20.18.0 is not supported by Astro!"

Bump to Node.js 24.14.0 (current LTS) in:
- MODULE.bazel (rules_nodejs toolchain + jco extension)
- tool_versions.bzl (TOOL_VERSIONS default)
- language_extensions.bzl (_DEFAULT_VERSIONS)

jco has no Node.js engine constraint so this is safe.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit 1d33110 into main Mar 21, 2026
28 checks passed
@avrabe avrabe deleted the fix/bump-nodejs-for-astro6 branch March 21, 2026 21:46
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