File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # Workflow name
2+ name : ' Chromatic'
3+
4+ # Event for the workflow
5+ on : push
6+
7+ # List of jobs
8+ jobs :
9+ chromatic-deployment :
10+ # Operating System
11+ runs-on : ubuntu-latest
12+ # Job steps
13+ steps :
14+ - run : git config --global core.autocrlf input
15+ - uses : actions/checkout@v3
16+ with :
17+ fetch-depth : 0
18+
19+ - uses : actions/setup-node@v3
20+ with :
21+ node-version : ' 14'
22+ cache : ' yarn'
23+
24+ - name : Install dependencies
25+ run : yarn
26+ # 👇 Adds Chromatic as a step in the workflow
27+ - name : Publish to Chromatic
28+ uses : chromaui/action@v1
29+ # Chromatic GitHub Action options
30+ with :
31+ # 👇 Chromatic projectToken, refer to the manage page to obtain it.
32+ projectToken : ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
You can’t perform that action at this time.
0 commit comments