Skip to content

Commit

Permalink
Go ahead and disable type stripping during testing entirely
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pimterry committed Jan 29, 2025
1 parent 601b956 commit 0c2d1d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ jobs:
cache-dependency-path: 'package.json'

- run: npm install

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

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

0 comments on commit 0c2d1d9

Please sign in to comment.