Skip to content

Commit 8eee4fa

Browse files
Add Chromatic to PR checks
1 parent 04458a7 commit 8eee4fa

File tree

2 files changed

+9
-34
lines changed

2 files changed

+9
-34
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v5
16+
with:
17+
fetch-depth: 0
1618

1719
- name: Enable corepack
1820
run: corepack enable
@@ -35,5 +37,10 @@ jobs:
3537
- name: Typescript build
3638
run: yarn build
3739

38-
- name: Storybook build
39-
run: yarn build-storybook
40+
- name: Deploy Storybook
41+
uses: chromaui/action@v11
42+
env:
43+
NODE_ENV: production
44+
with:
45+
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
46+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/storybook.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)