Skip to content

172 front task chore storybook deploy #22

172 front task chore storybook deploy

172 front task chore storybook deploy #22

Workflow file for this run

name: "Chromatic Deployment"
on:
pull_request:
branches:
- develop
jobs:
chromatic-deployment:
name: Chromatic
runs-on: ubuntu-latest
outputs:
statis: ${{ job.status }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: yarn
- name: Publish to Chromatic
id: chromatic
uses: chromaui/action@latest
with:
exitZeroOnChanges: true
autoAcceptChanges: true
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.TOKEN }}
- name: comment PR
uses: thollander/actions-comment-pull-request@v3
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
message: "storybook: ${{ steps.chromatic.outputs.storybookUrl }}"