[Feat/service/#78] 카카오로그인 #61
Workflow file for this run
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 | |
| - pre-production | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| env: | |
| NEXT_PUBLIC_API_BASE_URL: ${{ secrets.NEXT_PUBLIC_API_BASE_URL }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '20' | |
| - name: Install pnpm | |
| run: npm install -g pnpm | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run Lint | |
| run: pnpm lint | |
| - name: Check Prettier formatting | |
| run: pnpm prettier --check "**/*.{js,ts,tsx,jsx,mjs,hbs,json,css,md}" | |
| - name: TypeScript Check | |
| run: pnpm tsc --noEmit | |
| - name: Build project | |
| run: pnpm build |