We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27428bb commit 3395bcdCopy full SHA for 3395bcd
1 file changed
.github/workflows/chromatic.yml
@@ -0,0 +1,32 @@
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
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
31
+ # 👇 Chromatic projectToken, refer to the manage page to obtain it.
32
+ projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
0 commit comments