From ad7458c88393d2a17b2f9576ac064455d15f2d49 Mon Sep 17 00:00:00 2001 From: igalklebanov Date: Thu, 24 Oct 2024 15:28:03 +0300 Subject: [PATCH] minimum TypeScript version is 4.6. --- .github/workflows/test.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 00cd43c37..bd08c9035 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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/ @@ -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