Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 27c222e

Browse files
committed
ci: added chromatic to review workflow
1 parent 439275f commit 27c222e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/review.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,18 @@ jobs:
3131
- uses: romeovs/lcov-reporter-action@v0.2.16
3232
with:
3333
github-token: ${{ secrets.GITHUB_TOKEN }}
34+
35+
chromatic:
36+
needs: [test]
37+
name: Publish storybook to chromatic 🧪
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v2
41+
- uses: actions/setup-node@v1
42+
with:
43+
node-version: 12.x
44+
- run: npx yarn bootstrap
45+
- run: npx yarn chromatic
46+
working-directory: example
47+
env:
48+
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

0 commit comments

Comments
 (0)