Use chromatic action instead

This commit is contained in:
Matthew Wang 2023-04-24 14:52:03 -07:00
parent bd2d1dc046
commit 4ddb5ef460
No known key found for this signature in database
GPG Key ID: 0C8DB42BF157DEAB

View File

@ -45,6 +45,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build-storybook
- run: npx chromatic -d storybook-static
- name: Publish to Chromatic
uses: chromaui/action@v1
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}