[FE] 코드잽 프로덕션 v1.2.0 배포 #576
This file contains hidden or 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: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Node.js 설정 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: pnpm 설치 | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 8 | |
| - name: 의존성 설치 | |
| run: pnpm install | |
| - name: 타입 체크 실행 | |
| run: pnpm run tsc | |
| working-directory: ${{ env.frontend-directory }} | |
| - name: 린트 체크 실행 | |
| run: pnpm run lint | |
| working-directory: ${{ env.frontend-directory }} | |
| - name: 테스트 실행 | |
| run: pnpm run test | |
| working-directory: ${{ env.frontend-directory }} |