Skip to content

[FE] 3주차 운영 피드백 반영 - 1(#717) #210

[FE] 3주차 운영 피드백 반영 - 1(#717)

[FE] 3주차 운영 피드백 반영 - 1(#717) #210

Workflow file for this run

name: Frontend Storybook Deploy
on:
pull_request:
branches:
- 'develop'
paths: ['frontend/**/*.stories.ts', 'frontend/**/*.stories.tsx']
types:
- opened
- synchronize
- reopened
- edited
defaults:
run:
working-directory: frontend
jobs:
chromatic:
timeout-minutes: 10
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
# 해당 저장소의 코드를 가져온다
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# 노드 설치
- name: Install Nodejs
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
# 스토리북 배포
- name: Run Chromatic
uses: chromaui/action@latest
with:
workingDir: frontend
projectToken: ${{ secrets.STORY_BOOK_TOKEN }}