We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df389d1 commit f0ebd56Copy full SHA for f0ebd56
1 file changed
.github/workflows/chromatic.yml
@@ -0,0 +1,22 @@
1
+name: Chromatic
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+jobs:
10
+ publish-storybook:
11
+ name: Publish Storybook to Chromatic
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v3
17
18
+ - name: Install dependencies
19
+ run: npm ci
20
21
+ - name: Publish to Chromatic
22
+ run: npx chromatic --project-token=${{ secrets.CHROMATIC_TOKEN }}
0 commit comments