From ed13131f57c10e01fc7a1349b41005ab325e2612 Mon Sep 17 00:00:00 2001 From: mihaisc Date: Wed, 8 Jun 2022 05:31:36 -0700 Subject: [PATCH] fix ci (#1498) * fix ci Signed-off-by: mihaisc * add v3 Signed-off-by: mihaisc --- .github/workflows/ci.yml | 9 +++++---- .github/workflows/deploy.yml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) 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: