Skip to content

Commit bef2908

Browse files
authored
Merge pull request #5 from AlgorithmChef/feature/final_version_ui
Feature/final version UI branch에서 ocr api 부분 제외하고 통합하여 1차 merge 진행
2 parents eaccb01 + 15f9b54 commit bef2908

140 files changed

Lines changed: 14765 additions & 1541 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/frontend-ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Frontend CI (Vite Build)
2+
3+
on:
4+
push:
5+
branches: [ "main" ] # 브랜치 이름이 master라면 수정 필요
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build-check:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [20.x] # Vite 6.x는 최신 Node 버전(18, 20+) 권장
16+
17+
steps:
18+
# 1. 코드 가져오기
19+
- name: Checkout code
20+
uses: actions/checkout@v4
21+
22+
# 2. Node.js 설정
23+
- name: Setup Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
cache: 'npm'
28+
29+
# 3. 의존성 설치
30+
# package-lock.json이 있다면 npm ci가 더 빠르고 안전합니다.
31+
# 만약 lock 파일이 없다면 npm install로 변경해서 사용하세요.
32+
- name: Install dependencies
33+
run: npm ci
34+
35+
# 4. 빌드 확인 (핵심 단계)
36+
# Vite 빌드가 실패하면 여기서 에러가 나고, PR에 빨간불이 들어옵니다.
37+
- name: Build Project
38+
run: npm run build

0 commit comments

Comments
 (0)