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:
parent
8ce059bb46
commit
d22e6cde6b
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -53,9 +53,9 @@ jobs:
|
||||||
|
|
||||||
- name: Install Node modules
|
- name: Install Node modules
|
||||||
if: steps.node-cache.outputs.cache-hit != 'true'
|
if: steps.node-cache.outputs.cache-hit != 'true'
|
||||||
# --force is necessary for current React versions until react-virtualized is updated or
|
# --legacy-peer-deps is necessary for current React versions until react-virtualized is
|
||||||
# we replace it: https://github.com/bvaughn/react-virtualized/issues/1775
|
# updated or we replace it: https://github.com/bvaughn/react-virtualized/issues/1775
|
||||||
run: npm install --force
|
run: npm install --legacy-peer-deps
|
||||||
|
|
||||||
- name: Build Zotero
|
- name: Build Zotero
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
Loading…
Reference in a new issue