Skip to content

Commit

Permalink
feat(Chromatic Github Action): github action for chromatic and a chan…
Browse files Browse the repository at this point in the history
…ge to trigger

Signed-off-by: gaurab-pant <gaurab@openearth.org>
  • Loading branch information
gaurab-pant committed Mar 23, 2023
1 parent a0a3bac commit bf40a4a
Show file tree
Hide file tree
Showing 4 changed files with 9,705 additions and 5 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Chromatic Deployment'

on:
workflow_dispatch:
push:
paths:
- ui/.storybook/**
- ui/src/stories/**
branches: [ "develop" ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: yarn
- uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit bf40a4a

Please sign in to comment.