회원가입 / 로그읜 페이지 제작 #10
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: [develop, main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Prepare Yarn 4 | |
| run: corepack prepare [email protected] --activate | |
| # Optional: 캐시 수동 설정 | |
| - name: Cache Yarn | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| .yarn/cache | |
| .yarn/unplugged | |
| .yarn/install-state.gz | |
| .pnp.* | |
| key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-yarn- | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Type check | |
| run: yarn tsc --noEmit | |
| - name: Lint check | |
| run: yarn lint |