로그아웃 뮤테이션 생성 및 제출시 로직 개선 (issue #306) #126
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: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- "frontend/**" | ||
jobs: | ||
chromatic: | ||
name: Run Chromatic | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.15.1 | ||
- name: Install dependencies | ||
run: | | ||
if [ ! -f package-lock.json ]; then | ||
npm install | ||
fi | ||
npm ci | ||
working-directory: ./frontend | ||
- name: Run Chromatic | ||
uses: chromaui/action@latest | ||
with: | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
working-directory: ./frontend | ||