Skip to content

Commit

Permalink
typings first.
Browse files Browse the repository at this point in the history
  • Loading branch information
igalklebanov committed Oct 24, 2024
1 parent 767a107 commit 4e787cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ jobs:
fail-fast: false
matrix:
typescript-version: [
4.2.4, # 23.2.2021 https://devblogs.microsoft.com/typescript/announcing-typescript-4-2/
^4.3, # 26.5.2021 https://devblogs.microsoft.com/typescript/announcing-typescript-4-3/
4.4.3, # 26.8.2021 https://devblogs.microsoft.com/typescript/announcing-typescript-4-4/
^4.5, # 17.11.2021 https://devblogs.microsoft.com/typescript/announcing-typescript-4-5/
Expand Down Expand Up @@ -210,7 +209,7 @@ jobs:
run: npm run build

- name: Install older TypeScript
run: npm i -D typescript@${{ matrix.typescript-version }} tsd@${{ fromJson('{ "4.2.4":"0.16.0", "^4.3":"0.17.0", "4.4.3":"0.18.0", "^4.5":"0.19.1", "^4.6":"0.20.0", "^4.7":"0.22.0", "^4.8":"0.24.1", "^4.9":"0.27.0", "^5.0":"0.28.1", "^5.2":"0.29.0", "^5.3":"0.30.7", "^5.4":"0.31.2" }')[matrix.typescript-version] }}
run: npm i -D typescript@${{ matrix.typescript-version }} tsd@${{ fromJson('{ "^4.3":"0.17.0", "4.4.3":"0.18.0", "^4.5":"0.19.1", "^4.6":"0.20.0", "^4.7":"0.22.0", "^4.8":"0.24.1", "^4.9":"0.27.0", "^5.0":"0.28.1", "^5.2":"0.29.0", "^5.3":"0.30.7", "^5.4":"0.31.2" }')[matrix.typescript-version] }}

- name: Run tests with older TypeScript
run: npm run test:node:build && npm run test:typings
run: npm run npm run test:typings && test:node:build

0 comments on commit 4e787cc

Please sign in to comment.