[chore] 불필요한 폴더 제거 및 경로 재설정 #87
Workflow file for this run
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 }} | |