Feature: 사진목록 마크업 #100
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: | |
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 }} | |