From b9823c987582c22a489de66ce66caab0ce8763fd Mon Sep 17 00:00:00 2001 From: Nicolas DUBIEN Date: Thu, 17 Mar 2022 19:51:41 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=E2=9C=85=20Run=20fast-check=20against=20`-?= =?UTF-8?q?-moduleResolution=20nodenext`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-status.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-status.yml b/.github/workflows/build-status.yml index 6ce3c7e24f4..b1fcb4ac137 100644 --- a/.github/workflows/build-status.yml +++ b/.github/workflows/build-status.yml @@ -256,6 +256,11 @@ jobs: cd test/type sed -i 's/fc-expect-error-require-exactOptionalPropertyTypes/ts-expect-error/g' *.ts npx -p typescript@${{matrix.ts-version}} tsc --exactOptionalPropertyTypes + - name: Test test/type/ with --moduleResolution nodenext + if: matrix.ts-version == 'next' + run: | + cd test/type + npx -p typescript@${{matrix.ts-version}} tsc --moduleResolution nodenext test_node_8: name: 'Test legacy Node' needs: production_package From 39284677ca8b2d5e261ae1797ad1df5260c3c1ac Mon Sep 17 00:00:00 2001 From: Nicolas DUBIEN Date: Thu, 17 Mar 2022 19:53:43 +0100 Subject: [PATCH 2/3] Update build-status.yml --- .github/workflows/build-status.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-status.yml b/.github/workflows/build-status.yml index b1fcb4ac137..949a5245b24 100644 --- a/.github/workflows/build-status.yml +++ b/.github/workflows/build-status.yml @@ -218,6 +218,7 @@ jobs: - '3.2' # Other release channels for TypeScript - 'rc' + - 'next' steps: - uses: actions/checkout@v3 - name: Using Node v16.x From acb2853ff29f10f62b032d376c9563bb9e0acc44 Mon Sep 17 00:00:00 2001 From: Nicolas DUBIEN Date: Thu, 17 Mar 2022 22:13:01 +0100 Subject: [PATCH 3/3] Update build-status.yml --- .github/workflows/build-status.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-status.yml b/.github/workflows/build-status.yml index 949a5245b24..529f88c2308 100644 --- a/.github/workflows/build-status.yml +++ b/.github/workflows/build-status.yml @@ -251,17 +251,17 @@ jobs: run: | cd test/type npx -p typescript@${{matrix.ts-version}} tsc + - name: Test test/type/ with --moduleResolution nodenext + if: matrix.ts-version == 'next' + run: | + cd test/type + npx -p typescript@${{matrix.ts-version}} tsc --moduleResolution nodenext - name: Test test/type/ with --exactOptionalPropertyTypes if: matrix.ts-version != '3.2' && matrix.ts-version != '3.4' && matrix.ts-version != '3.9' run: | cd test/type sed -i 's/fc-expect-error-require-exactOptionalPropertyTypes/ts-expect-error/g' *.ts npx -p typescript@${{matrix.ts-version}} tsc --exactOptionalPropertyTypes - - name: Test test/type/ with --moduleResolution nodenext - if: matrix.ts-version == 'next' - run: | - cd test/type - npx -p typescript@${{matrix.ts-version}} tsc --moduleResolution nodenext test_node_8: name: 'Test legacy Node' needs: production_package