[FE] 방 생성, 수정 기능 추가(#743) #569
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 CI | |
on: | |
pull_request: | |
branches: | |
- 'develop' | |
paths: ['frontend/**'] | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- edited | |
defaults: | |
run: | |
working-directory: frontend | |
jobs: | |
build: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
# 해당 저장소의 코드를 가져온다 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set timezone to Asia/Seoul | |
run: sudo timedatectl set-timezone Asia/Seoul | |
# 노드 설치 | |
- name: Install Nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# 패키지 설치 | |
- name: Install dependencies | |
run: npm ci | |
# 테스트 | |
- name: Run tests | |
run: npm test |