Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
devops: don't force NPM 8 everywhere (#27465)
Max Schmittba207697c3c2
diff --git a/.github/workflows/infra.yml b/.github/workflows/infra.ymlindex e5247cecde..c63d494e18 100644--- a/.github/workflows/infra.yml+++ b/.github/workflows/infra.yml@@ -22,7 +22,6 @@ jobs:- uses: actions/setup-node@v3with:node-version: 16- - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install-depsdiff --git a/.github/workflows/publish_canary.yml b/.github/workflows/publish_canary.ymlindex 61119fbbf9..9ecff84367 100644--- a/.github/workflows/publish_canary.yml+++ b/.github/workflows/publish_canary.yml@@ -25,7 +25,6 @@ jobs:with:node-version: 18registry-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@v3with:node-version: 16- - run: npm i -g npm@8- name: Deploy Canaryrun: bash utils/build/deploy-trace-viewer.sh --canaryif: contains(github.ref, 'main')diff --git a/.github/workflows/publish_release_docker.yml b/.github/workflows/publish_release_docker.ymlindex fe41b5f0bc..98ef1a91f2 100644--- a/.github/workflows/publish_release_docker.yml+++ b/.github/workflows/publish_release_docker.yml@@ -34,7 +34,6 @@ jobs:uses: docker/setup-qemu-action@v2with:platforms: arm64- - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install-depsdiff --git a/.github/workflows/publish_release_driver.yml b/.github/workflows/publish_release_driver.ymlindex f97ce2e884..c807a925c9 100644--- a/.github/workflows/publish_release_driver.yml+++ b/.github/workflows/publish_release_driver.yml@@ -18,7 +18,6 @@ jobs:with:node-version: 16registry-url: 'https://registry.npmjs.org'- - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install-depsdiff --git a/.github/workflows/publish_release_npm.yml b/.github/workflows/publish_release_npm.ymlindex e423115446..68c4e27630 100644--- a/.github/workflows/publish_release_npm.yml+++ b/.github/workflows/publish_release_npm.yml@@ -21,7 +21,6 @@ jobs:with:node-version: 18registry-url: 'https://registry.npmjs.org'- - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install-depsdiff --git a/.github/workflows/publish_release_traceviewer.yml b/.github/workflows/publish_release_traceviewer.ymlindex 5d2de305fc..ac4986f1e2 100644--- a/.github/workflows/publish_release_traceviewer.yml+++ b/.github/workflows/publish_release_traceviewer.yml@@ -14,7 +14,6 @@ jobs:- uses: actions/setup-node@v3with:node-version: 16- - run: npm i -g npm@8- name: Deploy Stablerun: bash utils/build/deploy-trace-viewer.sh --stableenv:diff --git a/.github/workflows/roll_browser_into_playwright.yml b/.github/workflows/roll_browser_into_playwright.ymlindex 53f3244b15..8b78c9cf1f 100644--- a/.github/workflows/roll_browser_into_playwright.yml+++ b/.github/workflows/roll_browser_into_playwright.yml@@ -15,7 +15,6 @@ jobs:- uses: actions/setup-node@v3with:node-version: 16- - run: npm i -g npm@8- run: npm ci- run: npm run build- name: Install dependenciesdiff --git a/.github/workflows/tests_components.yml b/.github/workflows/tests_components.ymlindex bd1d4396b3..cf784a682e 100644--- a/.github/workflows/tests_components.yml+++ b/.github/workflows/tests_components.yml@@ -30,7 +30,6 @@ jobs:- uses: actions/setup-node@v3with:node-version: 16- - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install --with-depsdiff --git a/.github/workflows/tests_electron.yml b/.github/workflows/tests_electron.ymlindex f11d9b17a5..0feadb7f3b 100644--- a/.github/workflows/tests_electron.yml+++ b/.github/workflows/tests_electron.yml@@ -32,7 +32,6 @@ jobs:- uses: actions/setup-node@v3with:node-version: 16- - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1diff --git a/.github/workflows/tests_stress.yml b/.github/workflows/tests_stress.ymlindex d64eb07455..8cfecb8d7c 100644--- a/.github/workflows/tests_stress.yml+++ b/.github/workflows/tests_stress.yml@@ -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-depsdiff --git a/.github/workflows/tests_video.yml b/.github/workflows/tests_video.ymlindex 27f1643ef8..fcde10775a 100644--- a/.github/workflows/tests_video.yml+++ b/.github/workflows/tests_video.yml@@ -26,7 +26,6 @@ jobs:- uses: actions/setup-node@v3with:node-version: 16- - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:installdiff --git a/.github/workflows/tests_webview2.yml b/.github/workflows/tests_webview2.ymlindex da0270c248..4fd33af5ba 100644--- a/.github/workflows/tests_webview2.yml+++ b/.github/workflows/tests_webview2.yml@@ -32,7 +32,6 @@ jobs:- uses: actions/setup-dotnet@v2with:dotnet-version: '6.0.x'- - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1