Skip to content

Commit 881c715

Browse files
ci: pin Node.js to v22 to avoid isolated-vm incompatibility
Node.js `v24` became LTS recently, causing CI failures due to `V8` API incompatibilities with isolated-vm `v5.x`. Pinning to `v22` aligns with our production environment (Alpine `v3.22.1` ships Node.js `v22.16.0`) and ensures build stability. `isolated-vm v6+` will be required for Node.js `v24` support and will be addressed in a future dependency update cycle.
1 parent 9a4e5a7 commit 881c715

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: ["lts/*"]
16+
# Pinned to Node.js 22 to maintain compatibility with isolated-vm v5.x
17+
# Node.js 24 requires isolated-vm v6+ due to V8 API changes
18+
# TODO: Upgrade to isolated-vm v6 and support Node.js 24 in future dependency update cycle
19+
node-version: ["22"]
1720

1821
steps:
1922
- name: Checkout

0 commit comments

Comments
 (0)