mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
devops: bump Node.js versions on CI by 2 (#13754)
This commit is contained in:
parent
39cfa2b6e3
commit
6931f6dbeb
2
.github/workflows/infra.yml
vendored
2
.github/workflows/infra.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
4
.github/workflows/publish_canary.yml
vendored
4
.github/workflows/publish_canary.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
@ -72,7 +72,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
- run: npm i -g npm@7
|
||||
- name: Deploy Canary
|
||||
run: bash utils/build/deploy-trace-viewer.sh --canary
|
||||
|
2
.github/workflows/publish_release_docker.yml
vendored
2
.github/workflows/publish_release_docker.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- uses: azure/docker-login@v1
|
||||
with:
|
||||
|
2
.github/workflows/publish_release_driver.yml
vendored
2
.github/workflows/publish_release_driver.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
|
2
.github/workflows/publish_release_npm.yml
vendored
2
.github/workflows/publish_release_npm.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
|
@ -13,7 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
- 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: 16
|
||||
node-version: 18
|
||||
- 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: 14
|
||||
node-version: 16
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
|
10
.github/workflows/tests_primary.yml
vendored
10
.github/workflows/tests_primary.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -66,7 +66,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -91,7 +91,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
node-version: [12]
|
||||
node-version: [14]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -123,7 +123,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -139,7 +139,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
- run: npm ci
|
||||
env:
|
||||
DEBUG: pw:install
|
||||
|
60
.github/workflows/tests_secondary.yml
vendored
60
.github/workflows/tests_secondary.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -62,7 +62,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -90,7 +90,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -115,8 +115,6 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node_version:
|
||||
- "12.0.0"
|
||||
- "^12.0.0"
|
||||
- "^14.1.0" # pre 14.1, zip extraction was broken (https://github.com/microsoft/playwright/issues/1988)
|
||||
- "^16.0.0"
|
||||
- "^18.0.0"
|
||||
@ -147,7 +145,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -178,7 +176,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -213,7 +211,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -234,7 +232,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -259,7 +257,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -286,7 +284,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -311,7 +309,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -336,7 +334,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -363,7 +361,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -388,7 +386,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -413,7 +411,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -440,7 +438,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -465,7 +463,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -491,7 +489,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -515,7 +513,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -540,7 +538,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -565,7 +563,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -589,7 +587,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -614,7 +612,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -639,7 +637,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -663,7 +661,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -688,7 +686,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -713,7 +711,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -740,7 +738,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -765,7 +763,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
@ -789,7 +787,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
2
.github/workflows/tests_video.yml
vendored
2
.github/workflows/tests_video.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- run: npm i -g npm@8.3
|
||||
- run: npm ci
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user