File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -42,16 +42,25 @@ jobs:
4242
4343 - run : yarn run lint
4444
45- -
uses :
paambaati/[email protected] 45+ - name : Run Coverage Report
46+ if : ' !github.event.pull_request.head.repo.fork'
47+ 4648 env :
4749 CC_TEST_REPORTER_ID : ${{secrets.CC_TEST_REPORTER_ID}}
4850 with :
4951 coverageCommand : xvfb-run -a yarn run cover
5052 coverageLocations : ${{github.workspace}}/coverage/lcov.info:lcov
5153
52- - run : yarn build-storybook
54+ - name : Run Fork Coverage
55+ if : ' github.event.pull_request.head.repo.fork'
56+ run : xvfb-run -a yarn run cover
57+
58+ - name : Build Storybook
59+ if : ' !github.event.pull_request.head.repo.fork'
60+ run : yarn build-storybook
5361
5462 - name : Publish to Chromatic
63+ if : ' !github.event.pull_request.head.repo.fork'
5564 uses : chromaui/action@v1
5665 with :
5766 token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments