-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix ci Signed-off-by: mihaisc <[email protected]> * add v3 Signed-off-by: mihaisc <[email protected]>
- Loading branch information
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters