File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -186,13 +186,22 @@ jobs:
186186 - name : Erase path aliases
187187 run : sed -i -e /@remap-prod-remove-line/d ./tsconfig.base.json
188188
189- - name : Test types
189+ - name : Test types (TS 5.x)
190+ if : matrix.ts != 'next' && !startsWith(matrix.ts, '6.')
190191 env :
191192 TEST_DIST : true
192193 run : |
193194 yarn tsc --version
194195 yarn type-tests
195196
197+ - name : Test types (TS 6.x/next)
198+ if : matrix.ts == 'next' || startsWith(matrix.ts, '6.')
199+ env :
200+ TEST_DIST : true
201+ run : |
202+ yarn tsc --version
203+ yarn tsc -p tsconfig.test.json --noEmit --ignoreDeprecations 6.0
204+
196205 test-published-artifact :
197206 name : Test Published Artifact ${{ matrix.example }}
198207
Original file line number Diff line number Diff line change 22 // For runtime and type tests during CI.
33 "extends" : " ./tsconfig.base.json" ,
44 "compilerOptions" : {
5- "ignoreDeprecations" : " 6.0" ,
65 "emitDeclarationOnly" : false ,
76 "noEmit" : true ,
87 "rootDir" : " ./src" ,
You can’t perform that action at this time.
0 commit comments