Fix(client): 필터 드롭다운 컴포넌트 수정 #795
Workflow file for this run
This file contains hidden or 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 Publish' | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| permissions: write-all | |
| jobs: | |
| storybook: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install PNPM | |
| run: npm i -g pnpm | |
| - name: Cache node modules | |
| id: cache-node | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| **/node_modules | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - name: Install Dependencies | |
| if: steps.cache-node.outputs.cache-hit != 'true' | |
| run: pnpm install --frozen-lockfile | |
| - name: Build Storybook for bds-ui | |
| run: pnpm --filter @bds/ui run build-storybook | |
| - name: Publish to Chromatic | |
| id: chromatic | |
| uses: chromaui/action@latest | |
| with: | |
| projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
| workingDir: packages/bds-ui | |
| onlyChanged: true | |
| autoAcceptChanges: true | |
| exitOnceUploaded: true | |
| - name: Comment PR on Success | |
| if: success() && github.event_name == 'pull_request' | |
| uses: thollander/actions-comment-pull-request@v2 | |
| with: | |
| comment_tag: ${{ github.event.number }}-storybook | |
| message: | | |
| ✅ Storybook이 배포되었습니다. | |
| 🔗 [바로가기](${{ steps.chromatic.outputs.storybookUrl }}) | |
| - name: Comment PR on Failure | |
| if: failure() && github.event_name == 'pull_request' | |
| uses: thollander/actions-comment-pull-request@v2 | |
| with: | |
| comment_tag: ${{ github.event.number }}-storybook | |
| message: | | |
| 🚨 Storybook 배포에 실패했습니다. | |
| GitHub Actions 로그를 확인해주세요. |