CI: Use npm i --legacy-peer-deps instead of --force

Just to be a little more precise and match the build instructions
This commit is contained in:
Dan Stillman 2023-04-07 03:19:07 -04:00
parent 8ce059bb46
commit d22e6cde6b

View file

@ -53,9 +53,9 @@ jobs:
- name: Install Node modules
if: steps.node-cache.outputs.cache-hit != 'true'
# --force 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 --force
# --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