This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
chore: Release #259
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "chromatic" | |
on: push | |
jobs: | |
deployment: | |
name: Deploy Chromatic | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install Dependencies | |
run: yarn | |
- name: Build other required packages | |
run: yarn build | |
- name: Publish to Chromatic | |
uses: chromaui/action@v1 | |
with: | |
workingDir: "/packages/ui/" | |
buildScriptName: "storybook:build" | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
onlyChanged: true |