diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index 155fce3d2f..58ae751406 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -45,7 +45,7 @@ jobs: - name: Install dependencies continue-on-error: true - run: npm ci + run: npm install --legacy-peer-deps - name: Run linting check run: npm run lint:check diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 35c31bf787..b706dba308 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -46,7 +46,7 @@ jobs: - if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }} name: List the state of node modules continue-on-error: true - run: npm ci + run: npm install --legacy-peer-deps - run: npm run test -- --watchAll=false --coverage - name: Present and upload coverage to Codecov as ${{env.CODECOV_UNIQUE_NAME}} uses: codecov/codecov-action@v3 @@ -79,7 +79,7 @@ jobs: name: Install dependencies continue-on-error: true - run: npm ci + run: npm install --legacy-peer-deps - name: Install TypeScript Globally and add GraphQL tag run: yarn global add typescript