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 } }