Skip to content

Commit f0ebd56

Browse files
authored
Create chromatic.yml
1 parent df389d1 commit f0ebd56

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/chromatic.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)