From 8182dab513324ca60adf15e18cfa937959e39c45 Mon Sep 17 00:00:00 2001 From: legendecas Date: Tue, 22 Mar 2022 19:28:50 +0800 Subject: [PATCH] chore: run additional compilation variants (#2823) Co-authored-by: Valentin Marchaud --- .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 afc60069837..32aa6a3aa49 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 } }