[Test] 변경, 추가된 로직에 맞게 테스트 코드 추가 #616
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: CI | |
| on: | |
| pull_request: | |
| branches: ['main', 'dev'] | |
| paths-ignore: | |
| - '**.md' | |
| - 'docs/**' | |
| push: | |
| branches: ['dev'] | |
| paths-ignore: | |
| - '**.md' | |
| - 'docs/**' | |
| jobs: | |
| build-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the repo | |
| uses: actions/checkout@v4 | |
| # Node.js 설치 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'yarn' | |
| # 의존성 설치 | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| # Prisma 생성 | |
| - name: Generate Prisma Client | |
| run: npx prisma generate | |
| # Next.js 빌드 | |
| - name: Build | |
| run: yarn build |