File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 1- # Workflow name
21name : " Chromatic Deployment"
32
4- # Event for the workflow
53on : push
64
7- # List of jobs
85jobs :
9- test :
6+ chromatic-deployment :
107 # Operating System
8+ name : Chromatic
119 runs-on : ubuntu-latest
1210 # Job steps
1311 steps :
14- - uses : actions/checkout@v1
15- - run : yarn
16- # 👇 Adds Chromatic as a step in the workflow
17- - uses : chromaui/action@v1
18- # Options required for Chromatic's GitHub Action
12+ - name : Checkout
13+ uses : actions/checkout@v1
14+
15+ - name : Install dependencies
16+ run : yarn
17+
18+ - name : Publish to Chromatic
19+ uses : chromaui/action@v1
1920 with :
20- # 👇 Chromatic projectToken, see https://storybook.js.org/tutorials/intro-to-storybook/react/ko/deploy/ to obtain it
2121 projectToken : ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
22+
23+ - name : Create comment PR
24+ uses : thollander/action-comment-pull-request@v1
25+ with :
26+ message : " storybook: ${{steps.chromatic.outputs.storybookUrl }}"
You can’t perform that action at this time.
0 commit comments