Skip to content

fix: SP2 마이 페이지 및 매칭 조건 수정 페이지 수정 #562

fix: SP2 마이 페이지 및 매칭 조건 수정 페이지 수정

fix: SP2 마이 페이지 및 매칭 조건 수정 페이지 수정 #562

Workflow file for this run

name: 📘 Chromatic UI Test
on:
pull_request:
branches:
- develop
permissions:
pull-requests: write
issues: write
jobs:
chromatic:
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 install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Publish to Chromatic
id: chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Find existing comment
id: find_comment
uses: peter-evans/find-comment@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
body-includes: "<!-- chromatic-storybook-deployment -->"
- name: Add PR comment for Chromatic deployment
if: steps.find_comment.outputs.comment-id == ''
uses: peter-evans/create-or-update-comment@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
edit-mode: replace
body: |
<!-- chromatic-storybook-deployment -->
MATEBALL-STORYBOOK
[⚾ Storybook 배포가 완료되었습니다!](${{ steps.chromatic.outputs.storybookUrl }})