같은 경로로 이동시 히스토리 쌓이지 않도록 변경 #382
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 }} |