Skip to content

Commit

Permalink
Merge pull request #34 from CalcagnoLoic/develop
Browse files Browse the repository at this point in the history
try to deploy storybook on chromatic
  • Loading branch information
CalcagnoLoic authored Jan 26, 2024
2 parents a883d96 + 6d30a6c commit 8c374ef
Show file tree
Hide file tree
Showing 5 changed files with 366 additions and 107 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/chromatic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true
Loading

0 comments on commit 8c374ef

Please sign in to comment.