[FE] 방 생성, 수정 기능 추가(#743) #243
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: 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 }} |