mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: use npm 8.3 on windows with node 14 (#9246)
Workaround for https://github.com/npm/cli/issues/4341#issue-1117047096
This commit is contained in:
parent
30c6b13eec
commit
e55fed9d49
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -255,6 +255,11 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- name: Set up ${{ matrix.pkg_manager }}
|
||||
id: workaround
|
||||
if: ${{ matrix.node == '14' && matrix.os == 'windows-latest' && matrix.pkg_manager == 'npm' }}
|
||||
run: npm install -g ${{ matrix.pkg_manager }}@8.3
|
||||
- name: Set up ${{ matrix.pkg_manager }}
|
||||
if: ${{ steps.workaround.outcome == 'skipped' }}
|
||||
run: npm install -g ${{ matrix.pkg_manager }}@latest
|
||||
- name: Install dependencies
|
||||
run: ${{ matrix.pkg_manager }} install
|
||||
|
Loading…
Reference in New Issue
Block a user