-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
205a75f
commit e29d4f3
Showing
1 changed file
with
11 additions
and
2 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 |
---|---|---|
|
@@ -42,16 +42,25 @@ jobs: | |
|
||
- run: yarn run lint | ||
|
||
- uses: paambaati/[email protected] | ||
- name: Run Coverage Report | ||
if: github.event.pull_request.head.repo.fork == 'false' | ||
uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} | ||
with: | ||
coverageCommand: xvfb-run -a yarn run cover | ||
coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov | ||
|
||
- run: yarn build-storybook | ||
- name: Run Fork Coverage | ||
if: github.event.pull_request.head.repo.fork == 'true' | ||
run: xvfb-run -a yarn run cover | ||
|
||
- name: Build Storybook | ||
if: github.event.pull_request.head.repo.fork == 'false' | ||
run: yarn build-storybook | ||
|
||
- name: Publish to Chromatic | ||
if: github.event.pull_request.head.repo.fork == 'false' | ||
uses: chromaui/action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|