Skip to content

Commit

Permalink
ci: Remove all @types except for node when testing types on old TS
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Dec 21, 2022
1 parent 85be08d commit ab52daa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ jobs:
with: { node-version: 16.x }
- run: npm ci
- run: npm run build:node
- run: npm run test:dist:types
- run: npm uninstall jest @types/jest

- run: npm install --no-save typescript@4.2
- run: for d in node_modules/@types/*; do [[ $d == *node ]] || rm -r $d; done
- run: npm run test:dist:types

- run: npm install --no-save typescript@4.0
- run: for d in node_modules/@types/*; do [[ $d == *node ]] || rm -r $d; done
- run: npm run test:dist:types

- run: npm install --no-save typescript@3.8
- run: for d in node_modules/@types/*; do [[ $d == *node ]] || rm -r $d; done
- run: npm run test:dist:types

0 comments on commit ab52daa

Please sign in to comment.