devops: use NPM 8 (#10083)

This commit is contained in:
Max Schmitt 2021-11-08 23:06:03 +01:00 committed by GitHub
parent 0cad0de3e3
commit 4b37990f9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 40 additions and 40 deletions

View File

@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install-deps

View File

@ -26,6 +26,6 @@ jobs:
cache: 'npm'
- run: npm i -g npm@7
- run: npm ci
- run: npm run build
- run: npm i -g npm@8
- run: npm run test
working-directory: packages/create-playwright/

View File

@ -19,7 +19,7 @@ jobs:
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install-deps

View File

@ -19,7 +19,7 @@ jobs:
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install-deps

View File

@ -15,7 +15,7 @@ jobs:
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install-deps
@ -33,7 +33,7 @@ jobs:
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install-deps

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- name: Install dependencies

View File

@ -34,7 +34,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- name: Build

View File

@ -24,7 +24,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install
@ -54,7 +54,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install

View File

@ -32,7 +32,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install
@ -61,7 +61,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install
@ -80,7 +80,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install

View File

@ -33,7 +33,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install
@ -63,7 +63,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install
@ -91,7 +91,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install
@ -125,7 +125,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install
@ -145,7 +145,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install
@ -176,7 +176,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install
@ -206,7 +206,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install
@ -227,7 +227,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -252,7 +252,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -279,7 +279,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -304,7 +304,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -329,7 +329,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -356,7 +356,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -381,7 +381,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -407,7 +407,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -431,7 +431,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -456,7 +456,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -481,7 +481,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -505,7 +505,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -530,7 +530,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -555,7 +555,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -579,7 +579,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -604,7 +604,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -629,7 +629,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -656,7 +656,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -681,7 +681,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@ -705,7 +705,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm i -g npm@7
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install-deps