Skip to content

Commit

Permalink
fix ci (#1498)
Browse files Browse the repository at this point in the history
* fix ci

Signed-off-by: mihaisc <[email protected]>

* add v3

Signed-off-by: mihaisc <[email protected]>
  • Loading branch information
mihaisc authored Jun 8, 2022
1 parent 3646fbd commit ed13131
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
- v4
- v3
tags:
- '**'
pull_request:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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/[email protected]
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ed13131

Please sign in to comment.