From d22e6cde6b67ac2849c74af3b58d0896ecb2993c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 7 Apr 2023 03:19:07 -0400 Subject: [PATCH] CI: Use `npm i --legacy-peer-deps` instead of `--force` Just to be a little more precise and match the build instructions --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b34720efda..f5986710cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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