From 73ca28a075d8baada114170b5dbed1f75c83c121 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Wed, 29 Jan 2025 17:42:34 +0100 Subject: [PATCH] Go ahead and disable type stripping during testing entirely We'll need to support this soon, since it'll end up being default on everybody's machine, but right now it breaks a bunch of stuff and it's not an immediately useful feature. --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e75775a8..f1f1fba51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,12 @@ jobs: cache: 'npm' cache-dependency-path: 'package.json' + # The new type stripping breaks our existing ts-node testing + # set up, so disable it: + - name: Set Node Options for Node 23 + if: startsWith(matrix.node-version, '23') + run: echo "NODE_OPTIONS=--no-experimental-strip-types" >> $GITHUB_ENV + - run: npm install - run: npm run ci-tests