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

Relates https://github.com/microsoft/playwright/issues/16281.
This commit is contained in:
Ross Wollman 2022-08-05 15:24:47 -07:00 committed by GitHub
parent 7a86e140f5
commit 7c4099a011
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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 npm@8.15.1 # 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

View file

@ -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 npm@8.15.1 # 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