Skip to content

feat: 내 제품 vs 경쟁사 비교 분석 (+ 실데이터 크롤링/Gemini 동작) (#35) #17

feat: 내 제품 vs 경쟁사 비교 분석 (+ 실데이터 크롤링/Gemini 동작) (#35)

feat: 내 제품 vs 경쟁사 비교 분석 (+ 실데이터 크롤링/Gemini 동작) (#35) #17

Workflow file for this run

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