CI: Use npm i --legacy-peer-deps for react-virtualized

This commit is contained in:
Dan Stillman 2023-04-07 03:18:05 -04:00
parent dcfce382d9
commit 543bfdabd3

View file

@ -49,7 +49,9 @@ jobs:
- name: Install Node modules
if: steps.node-cache.outputs.cache-hit != 'true'
run: npm install
# --legacy-peer-deps is necessary for current React versions until react-virtualized is
# updated or we replace it: https://github.com/bvaughn/react-virtualized/issues/1775
run: npm install --legacy-peer-deps
- name: Build Zotero
run: npm run build