Skip to content

Commit 8494230

Browse files
Add Chromatic to PR checks
1 parent ff29c19 commit 8494230

File tree

2 files changed

+7
-34
lines changed

2 files changed

+7
-34
lines changed

.github/workflows/ci.yml

Lines changed: 7 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,8 @@ 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+
with:
43+
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
44+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/storybook.yml

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

0 commit comments

Comments
 (0)