[REFACT] deploy 수정 #126
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: test-main | |
| # 워크플로가 시작될 조건 지정 | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Test prisma generate | |
| run: npm exec prisma generate | |
| - name: Test build | |
| run: npm run build | |
| - name: Test type error | |
| run: npm exec tsc --noEmit |