Skip to content

Commit 0c2d1d9

Browse files
committed
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.
1 parent 601b956 commit 0c2d1d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ jobs:
2020
cache-dependency-path: 'package.json'
2121

2222
- run: npm install
23+
2324
- run: npm run ci-tests
25+
env:
26+
# The new type stripping breaks our existing ts-node testing
27+
# set up, so disable it:
28+
NODE_OPTIONS: ${{ startsWith(matrix.node-version, '23') && '--no-experimental-strip-types' || '' }}
2429

2530
- name: Deploy docs
2631
if: github.ref == 'refs/heads/main' && matrix.node-version == 'v20.18.1'

0 commit comments

Comments
 (0)