diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44724d8c8..72f33fd0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: branches: - main - v4 + - v3 tags: - '**' pull_request: @@ -36,7 +37,7 @@ jobs: key: ${{ runner.os }}-${{ matrix.node }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} restore-keys: ${{ runner.os }}-${{ matrix.node }}-build-${{ env.cache-name }}- - - run: npm ci + - run: npm ci --legacy-peer-deps - run: npm run build test: @@ -63,7 +64,7 @@ jobs: key: ${{ runner.os }}-${{ matrix.node }}-test-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} restore-keys: ${{ runner.os }}-${{ matrix.node }}-test-${{ env.cache-name }}- - - run: npm ci + - run: npm ci --legacy-peer-deps - run: npm test - name: Upload coverage artifact @@ -95,7 +96,7 @@ jobs: with: name: coverage-${{ runner.os }} - - run: npm ci + - run: npm ci --legacy-peer-deps - run: npm run codegen:apollo - uses: paambaati/codeclimate-action@v3.0.0 @@ -126,6 +127,6 @@ jobs: key: ${{ runner.os }}-${{ matrix.node }}-storybook-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} restore-keys: ${{ runner.os }}-${{ matrix.node }}-storybook-${{ env.cache-name }}- - - run: npm ci + - run: npm ci --legacy-peer-deps - run: npm run pregenerate - run: npm run storybook:build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9f241987c..fda9b1700 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 - - run: npm ci + - run: npm ci --legacy-peer-deps - run: npm run build env: