Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

ci: run tests on node 22.20.0

Carl-Gerhard Lindesvärdcd24bb838301
diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml
index 776845211..234885468 100644
--- a/.github/workflows/docker-build.yml
+++ b/.github/workflows/docker-build.yml
@@ -78,7 +78,11 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
- node-version: "20"
+ # Matches ARG NODE_VERSION in apps/*/Dockerfile. Must stay >=22.19.0:
+ # undici@8 fails at import on older Node with
+ # "webidl.util.markAsUncloneable is not a function".
+ # TODO: make this a single source of truth (.nvmrc + engines).
+ node-version: "22.20.0"
- name: Install pnpm
uses: pnpm/action-setup@v4