feat: 분석 결과 전문성·신뢰도 보강 — 방법론·맥락·면책 (#23) #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: Frontend CI | |
| on: | |
| push: | |
| branches: [main, develop] | |
| paths: | |
| - "frontend/**" | |
| - ".github/workflows/frontend-ci.yml" | |
| pull_request: | |
| branches: [main, develop] | |
| paths: | |
| - "frontend/**" | |
| - ".github/workflows/frontend-ci.yml" | |
| defaults: | |
| run: | |
| working-directory: frontend | |
| jobs: | |
| test: | |
| name: Type-check, Lint & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Type check | |
| run: npx tsc --noEmit | |
| - name: Lint | |
| run: npm run lint | |
| - name: Unit & Integration tests | |
| run: npx vitest run | |
| - name: Coverage | |
| run: npx vitest run --coverage | |
| - name: Install Playwright browsers | |
| run: npx playwright install --with-deps chromium | |
| - name: E2E tests | |
| run: npx playwright test |