From dae0e5667c87e630d14fec8812e6e137729dcd4c Mon Sep 17 00:00:00 2001 From: legendecas Date: Wed, 9 Mar 2022 11:41:55 +0800 Subject: [PATCH] chore: run additional compilation variants --- .github/workflows/unit-test.yml | 8 ++++++++ tsconfig.es5.json | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 53d3d47385f..31d7f99d4d6 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -76,6 +76,8 @@ jobs: - name: Build 🔧 run: | npm run compile + # run additional compilation variants + npx lerna run compile - name: Unit tests run: npm run test:browser @@ -111,6 +113,8 @@ jobs: - name: Build 🔧 run: | npm run compile + # run additional compilation variants + npx lerna run compile - name: Unit tests run: npm run test:webworker @@ -192,6 +196,8 @@ jobs: working-directory: experimental run: | npm run compile + # run additional compilation variants + npx lerna run compile - name: Unit tests working-directory: experimental @@ -231,6 +237,8 @@ jobs: working-directory: experimental run: | npm run compile + # run additional compilation variants + npx lerna run compile - name: Unit tests working-directory: experimental diff --git a/tsconfig.es5.json b/tsconfig.es5.json index 3c83c51a2b0..89cefe2d438 100644 --- a/tsconfig.es5.json +++ b/tsconfig.es5.json @@ -1,6 +1,7 @@ { "extends": "./tsconfig.base.json", "compilerOptions": { - "target": "es5" + "target": "es5", + "downlevelIteration": true } }