Skip to content

Commit

Permalink
add chromatic, esbuild, and @/
Browse files Browse the repository at this point in the history
alias to storybook.
  • Loading branch information
tchalvak committed Dec 25, 2023
1 parent e5c03e6 commit 45f0fa0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Chromatic"

on: push

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

- name: Install dependencies
# ⚠️ Pick one of these, matching the package manager for your project
run: yarn install --immutable --immutable-cache --check-cache

- name: Publish to Chromatic
uses: chromaui/action@latest
with:
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 45f0fa0

Please sign in to comment.