Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

tests(installation): pin npm version as workaround (#16323)

Ross Wollman7c4099a0114d
diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.yml
index b49d374c93..abfb285e3b 100644
--- a/.github/workflows/tests_primary.yml
+++ b/.github/workflows/tests_primary.yml
@@ -176,7 +176,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
- - run: npm i -g npm@8
+ - run: npm i -g [email protected] # This should NOT be pinned beyond major version once https://github.com/microsoft/playwright/issues/16281 is resolved.
- run: npm ci
env:
DEBUG: pw:install
diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml
index 26a4feb39b..08f99d75aa 100644
--- a/.github/workflows/tests_secondary.yml
+++ b/.github/workflows/tests_secondary.yml
@@ -128,7 +128,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
- - run: npm i -g npm@8
+ - run: npm i -g [email protected] # This should NOT be pinned beyond major version once https://github.com/microsoft/playwright/issues/16281 is resolved.
- run: npm ci
env:
DEBUG: pw:install