MSW 폴더 구조 변경 및 mockResponse 유틸 response 생성 #516
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: | |
- main | |
- dev/fe | |
jobs: | |
build-with-test: | |
runs-on: ubuntu-latest | |
env: | |
frontend-directory: ./frontend | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Node.js 설정 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: 의존성 설치 | |
run: npm install | |
working-directory: ${{ env.frontend-directory }} | |
- name: 타입 체크 실행 | |
run: npm run tsc | |
working-directory: ${{ env.frontend-directory }} | |
- name: 테스트 실행 | |
run: npm run test | |
working-directory: ${{ env.frontend-directory }} |