From a4d1ded3695e7645febc364c5e38165d12414dac Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Wed, 9 Feb 2022 12:06:29 +0100 Subject: [PATCH] minimum TS is 4.2 --- .github/workflows/nodejs.yml | 2 +- scripts/verifyOldTs.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f311a44a361c..5cc10ebc1c8d 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -58,7 +58,7 @@ jobs: run: yarn build - name: test typings run: yarn test-types - - name: verify TypeScript@3.8 compatibility + - name: verify TypeScript@4.2 compatibility run: yarn verify-old-ts - name: verify Yarn PnP compatibility run: yarn verify-pnp diff --git a/scripts/verifyOldTs.js b/scripts/verifyOldTs.js index 543b9c5c0d22..3d91fce74942 100644 --- a/scripts/verifyOldTs.js +++ b/scripts/verifyOldTs.js @@ -29,7 +29,7 @@ const tsConfig = { }; const cwd = tempy.directory(); -const tsVersion = '3.8'; +const tsVersion = '4.2'; try { fs.writeFileSync(path.join(cwd, '.yarnrc.yml'), 'nodeLinker: node-modules\n');