Skip to content

tswagger 연동 및 react-query 예시코드 작성 #104

tswagger 연동 및 react-query 예시코드 작성

tswagger 연동 및 react-query 예시코드 작성 #104

Workflow file for this run

name: 'Chromatic'
on:
workflow_call:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
run: yarn
- name: Publish to Chromatic
id: chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true
- uses: marocchino/sticky-pull-request-comment@v2
with:
header: pr-preview
message: |
> :rocket: Deployed preview of ${{ github.event.pull_request.head.sha }}
| name | url |
|-----------|-----|
| Chromatic Build | ${{ steps.chromatic.outputs.buildUrl }} |
| Chromatic Storybook | ${{ steps.chromatic.outputs.storybookUrl }} |