Skip to content

Commit

Permalink
minimum TypeScript version is 4.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
igalklebanov committed Oct 24, 2024
1 parent e5a3368 commit ad7458c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ jobs:
fail-fast: false
matrix:
typescript-version: [
^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/
^4.6, # 28.2.2022 https://devblogs.microsoft.com/typescript/announcing-typescript-4-6/
^4.7, # 24.5.2022 https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/
^4.8, # 25.8.2022 https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/
Expand All @@ -209,7 +206,7 @@ jobs:
run: npm run build

- name: Install older TypeScript
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] }}
run: npm i -D typescript@${{ matrix.typescript-version }} tsd@${{ fromJson('{ "^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:typings && npm run test:node:build

0 comments on commit ad7458c

Please sign in to comment.