Skip to content

API 모듈 추상화 (issue #20) #5

API 모듈 추상화 (issue #20)

API 모듈 추상화 (issue #20) #5

name: "Chromatic"
on:
pull_request:
branches: [main]
jobs:
chromatic:
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Change directory to front
run: cd front
- name: Install dependencies
run: npm ci
working-directory: ./front
- name: Run Chromatic
run: npx chromatic --project-token=${{ secrets.CHROMATIC_PROJECT_TOKEN }}
working-directory: ./front