Skip to content

Commit

Permalink
ci: integrate with Chromatic
Browse files Browse the repository at this point in the history
  • Loading branch information
DaleSeo committed Dec 10, 2024
1 parent 475e5e7 commit 9219cf8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 41 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Chromatic 🎨"

on: push

jobs:
chromatic:
environment:
name: chromatic
url: https://${{ github.ref_name }}--675790d317ba346348aa3490.chromatic.com
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v2
- run: bun install
- uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"prepare": "panda codegen"
},
"dependencies": {
"chromatic": "^11.20.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
41 changes: 0 additions & 41 deletions src/components/Button/Button.css

This file was deleted.

0 comments on commit 9219cf8

Please sign in to comment.