devops: align Node.js versions on CI and add 16/18 bots (#13759)
This commit is contained in:
parent
00b4fb8bad
commit
6c922d2f6c
2
.github/workflows/component_tests.yml
vendored
2
.github/workflows/component_tests.yml
vendored
|
|
@ -28,7 +28,9 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
# Component tests require Node.js 16+ (they require ESM via TS)
|
||||
node-version: 16
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npx playwright install --with-deps
|
||||
|
|
|
|||
2
.github/workflows/publish_canary.yml
vendored
2
.github/workflows/publish_canary.yml
vendored
|
|
@ -72,7 +72,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 14
|
||||
- run: npm i -g npm@7
|
||||
- name: Deploy Canary
|
||||
run: bash utils/build/deploy-trace-viewer.sh --canary
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 14
|
||||
- run: npm i -g npm@7
|
||||
- name: Deploy Stable
|
||||
run: bash utils/build/deploy-trace-viewer.sh --stable
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
|
|
|||
2
.github/workflows/tests_android.yml
vendored
2
.github/workflows/tests_android.yml
vendored
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
|
|
|
|||
19
.github/workflows/tests_primary.yml
vendored
19
.github/workflows/tests_primary.yml
vendored
|
|
@ -26,18 +26,26 @@ env:
|
|||
|
||||
jobs:
|
||||
test_linux:
|
||||
name: ${{ matrix.os }} (${{ matrix.browser }})
|
||||
name: ${{ matrix.os }} (${{ matrix.browser }} - Node.js ${{ matrix.node-version }})
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
browser: [chromium, firefox, webkit]
|
||||
os: [ubuntu-20.04]
|
||||
node-version: [14]
|
||||
include:
|
||||
- os: ubuntu-20.04
|
||||
node-version: 16
|
||||
browser: chromium
|
||||
- os: ubuntu-20.04
|
||||
node-version: 18
|
||||
browser: chromium
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
|
|
@ -123,7 +131,8 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 18
|
||||
# ESM tests rely on the experimental loader in Node.js 16+
|
||||
node-version: 16
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
|
|
@ -139,7 +148,9 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 18
|
||||
# Component tests require Node.js 16+ (they require ESM via TS)
|
||||
node-version: 16
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
DEBUG: pw:install
|
||||
|
|
|
|||
Loading…
Reference in a new issue