diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cd44c535e9a..03782d03a3f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,7 +146,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16, 14, 12] + node-version: [16, 14, 12, 10, 8, 6] steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/jest.config.js b/jest.config.js index 179ae08c67c0..f6dedbbbf5bf 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,7 +2,7 @@ const supportsESM = parseInt(process.versions.node) >= 12; const isPublishBundle = process.env.IS_PUBLISH; module.exports = { - runner: "./test/jest-light-runner", + runner: supportsESM ? "./test/jest-light-runner" : "jest-runner", collectCoverageFrom: [ "packages/*/src/**/*.{js,mjs,ts}",