Skip to content

Commit 9938a20

Browse files
Add Chromatic to PR checks
1 parent a2902b6 commit 9938a20

File tree

3 files changed

+5
-35
lines changed

3 files changed

+5
-35
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@ jobs:
3535
- name: Typescript build
3636
run: yarn build
3737

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

.github/workflows/storybook.yml

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

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
"cleanup": "rm -rf dist/ > /dev/null",
5555
"build": "NODE_ENV=production yarn cleanup && rollup -c",
5656
"storybook": "NODE_ENV=development storybook dev -p 6006",
57-
"build-storybook": "NODE_ENV=production storybook build",
5857
"test": "jest",
5958
"test:watch": "jest --watch",
6059
"lint": "yarn lint:types && yarn lint:js && yarn lint:prettier",

0 commit comments

Comments
 (0)