From 0fdebaa6eb44f47ef4ec790bdd5f017425c84230 Mon Sep 17 00:00:00 2001 From: andytudhope <13001517+andytudhope@users.noreply.github.com> Date: Wed, 13 Dec 2023 12:11:13 +0200 Subject: [PATCH] attempt yarn build error fix --- .github/workflows/prod.yml | 2 +- .github/workflows/staging.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index c668381a4..647062095 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -27,7 +27,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm install + - run: npm install --legacy-peer-deps - run: CI=false yarn workspace dapp build --if-present - run: yarn workspace services build --if-present - run: cp -r packages/dapp/dist/build/ packages/services/dist/ diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 2b3af80cc..0fdd87f8d 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -29,7 +29,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm install + - run: npm install --legacy-peer-deps - run: CI=false yarn workspace dapp build --if-present - run: yarn workspace services build --if-present - run: cp -r packages/dapp/dist/build/ packages/services/dist/