Skip to content

Commit ea1237a

Browse files
SonAIengineclaude
andcommitted
fix(ci): Windows에서 Husky prepare 스크립트 실패 해결
- npm install 시 HUSKY=0 환경변수로 husky 스킵 - --ignore-scripts로 bash 전용 prepare 스크립트 우회 - Windows cmd.exe에서 if [ ] bash 문법 호환 불가 이슈 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 19c8b30 commit ea1237a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build-windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ jobs:
4343
4444
- name: Install frontend dependencies
4545
working-directory: frontend
46-
run: npm install
46+
env:
47+
HUSKY: "0"
48+
run: npm install --ignore-scripts && npx next --version
4749

4850
- name: Build Tauri app (Windows)
4951
working-directory: src-tauri

0 commit comments

Comments
 (0)