parent
d7a1e013c6
commit
995c3eb4b5
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
|
|
@ -270,13 +270,17 @@ jobs:
|
||||||
|
|
||||||
test-package-installations:
|
test-package-installations:
|
||||||
runs-on: ubuntu-latest
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
# New node.js version supports `--unhandled-rejections=strict` flag that
|
node-version: ${{ matrix.node_version }}
|
||||||
# we use in `installation-tests.sh`.
|
|
||||||
node-version: 12
|
|
||||||
- uses: microsoft/playwright-github-action@v1
|
- uses: microsoft/playwright-github-action@v1
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: bash test/installation-tests/installation-tests.sh
|
- run: bash test/installation-tests/installation-tests.sh
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue