File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - " *"
7+
8+ jobs :
9+ build-test-lint-typecheck :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : 코드 체크아웃
13+ uses : actions/checkout@v4
14+
15+ - name : Node.js 설정
16+ uses : actions/setup-node@v4
17+ with :
18+ node-version : 22
19+ cache : ' npm'
20+
21+ - name : 의존성 설치
22+ run : npm ci
23+
24+ - name : Vite 프로젝트 빌드
25+ run : npm run build
26+
27+ - name : 린트 체크
28+ run : npm run lint:check
29+
30+ - name : 프리티어 체크
31+ run : npm run prettier:check
32+
33+ - name : 타입 체크
34+ run : npm run type:check || echo "No type:check script"
35+
36+ - name : 테스트
37+ run : npm run test || echo "No test script defined"
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ jobs:
1919 - name : Node.js 설정
2020 uses : actions/setup-node@v4
2121 with :
22- node-version : 18
22+ node-version : 22
2323 cache : ' npm'
2424
2525 - name : 의존성 설치
26- run : npm install
26+ run : npm ci
2727
2828 - name : Vite 프로젝트 빌드
2929 run : npm run build
You can’t perform that action at this time.
0 commit comments