Merge pull request #197 from RealMatchTeam/style/matchinglist-and-test #190
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: Deploy | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build project | |
| run: pnpm run build | |
| env: | |
| NODE_ENV: production | |
| # Vercel 배포 예시 (필요시 주석 해제) | |
| # - name: Deploy to Vercel | |
| # uses: amondnet/vercel-action@v25 | |
| # with: | |
| # vercel-token: ${{ secrets.VERCEL_TOKEN }} | |
| # vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} | |
| # vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} | |
| # vercel-args: '--prod' | |
| - name: Deploy notification | |
| run: echo "Deployment completed successfully!" |