Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

ci: pin Node.js to `v22` to avoid `isolated-vm` incompatibility

jamesgeorge007881c71560b0d
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 5d281bca1..e58af774e 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -13,7 +13,10 @@ jobs:
strategy:
matrix:
- node-version: ["lts/*"]
+ # Pinned to Node.js 22 to maintain compatibility with isolated-vm v5.x
+ # Node.js 24 requires isolated-vm v6+ due to V8 API changes
+ # TODO: Upgrade to isolated-vm v6 and support Node.js 24 in future dependency update cycle
+ node-version: ["22"]
steps:
- name: Checkout