Skip to content

Commit

Permalink
Merge pull request #30 from shoota/add_chromatic_ci
Browse files Browse the repository at this point in the history
ci: add chromatic
  • Loading branch information
shoota authored May 8, 2024
2 parents 1b0059f + 5e9122d commit 46e36ff
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Chromatic"

on: push
branches:
- main

jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install dependencies
run: npm ci

- name: Run Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true
autoAcceptChanges: "main"
skip: "renovate/**"

0 comments on commit 46e36ff

Please sign in to comment.