mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-11 12:33:45 +03:00
devops: don't force NPM 8 everywhere (#27465)
We used to have this historically due to bots which were running on Node.js 14. Node.js 14 was shipping NPM 7 back in the days. Now all bots are on >= Node.js 16 so we can remove this legacy code.
This commit is contained in:
parent
0717b386f9
commit
ba207697c3
1
.github/workflows/infra.yml
vendored
1
.github/workflows/infra.yml
vendored
@ -22,7 +22,6 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: npm i -g npm@8
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npx playwright install-deps
|
||||
|
2
.github/workflows/publish_canary.yml
vendored
2
.github/workflows/publish_canary.yml
vendored
@ -25,7 +25,6 @@ jobs:
|
||||
with:
|
||||
node-version: 18
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: npm i -g npm@8
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npx playwright install-deps
|
||||
@ -79,7 +78,6 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: npm i -g npm@8
|
||||
- name: Deploy Canary
|
||||
run: bash utils/build/deploy-trace-viewer.sh --canary
|
||||
if: contains(github.ref, 'main')
|
||||
|
1
.github/workflows/publish_release_docker.yml
vendored
1
.github/workflows/publish_release_docker.yml
vendored
@ -34,7 +34,6 @@ jobs:
|
||||
uses: docker/setup-qemu-action@v2
|
||||
with:
|
||||
platforms: arm64
|
||||
- run: npm i -g npm@8
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npx playwright install-deps
|
||||
|
1
.github/workflows/publish_release_driver.yml
vendored
1
.github/workflows/publish_release_driver.yml
vendored
@ -18,7 +18,6 @@ jobs:
|
||||
with:
|
||||
node-version: 16
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: npm i -g npm@8
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npx playwright install-deps
|
||||
|
1
.github/workflows/publish_release_npm.yml
vendored
1
.github/workflows/publish_release_npm.yml
vendored
@ -21,7 +21,6 @@ jobs:
|
||||
with:
|
||||
node-version: 18
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: npm i -g npm@8
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npx playwright install-deps
|
||||
|
@ -14,7 +14,6 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: npm i -g npm@8
|
||||
- name: Deploy Stable
|
||||
run: bash utils/build/deploy-trace-viewer.sh --stable
|
||||
env:
|
||||
|
@ -15,7 +15,6 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: npm i -g npm@8
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- name: Install dependencies
|
||||
|
1
.github/workflows/tests_components.yml
vendored
1
.github/workflows/tests_components.yml
vendored
@ -30,7 +30,6 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: npm i -g npm@8
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npx playwright install --with-deps
|
||||
|
1
.github/workflows/tests_electron.yml
vendored
1
.github/workflows/tests_electron.yml
vendored
@ -32,7 +32,6 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: npm i -g npm@8
|
||||
- run: npm ci
|
||||
env:
|
||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
||||
|
3
.github/workflows/tests_stress.yml
vendored
3
.github/workflows/tests_stress.yml
vendored
@ -29,7 +29,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
- run: npm i -g npm@8
|
||||
with:
|
||||
node-version: 16
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npx playwright install --with-deps
|
||||
|
1
.github/workflows/tests_video.yml
vendored
1
.github/workflows/tests_video.yml
vendored
@ -26,7 +26,6 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: npm i -g npm@8
|
||||
- run: npm ci
|
||||
env:
|
||||
DEBUG: pw:install
|
||||
|
1
.github/workflows/tests_webview2.yml
vendored
1
.github/workflows/tests_webview2.yml
vendored
@ -32,7 +32,6 @@ jobs:
|
||||
- uses: actions/setup-dotnet@v2
|
||||
with:
|
||||
dotnet-version: '6.0.x'
|
||||
- run: npm i -g npm@8
|
||||
- run: npm ci
|
||||
env:
|
||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
||||
|
Loading…
Reference in New Issue
Block a user