diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aaf64da998..d070e90959 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -270,13 +270,17 @@ jobs: test-package-installations: runs-on: ubuntu-latest + strategy: + matrix: + node_version: + - "^10.17.0" # pre 10.17, --unhandled-rejections=strict was not an option (https://github.com/nodejs/node/pull/26599) which we need in our tests + - "^12.0.0" + - "^14.1.0" # pre 14.1, zip extraction was broken (https://github.com/microsoft/playwright/issues/1988) steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - # New node.js version supports `--unhandled-rejections=strict` flag that - # we use in `installation-tests.sh`. - node-version: 12 + node-version: ${{ matrix.node_version }} - uses: microsoft/playwright-github-action@v1 - run: npm ci - run: bash test/installation-tests/installation-tests.sh