1313 runs-on : ubuntu-latest
1414 outputs :
1515 web : ${{ steps.filter.outputs.web }}
16+ university-web : ${{ steps.filter.outputs.university-web }}
1617 admin : ${{ steps.filter.outputs.admin }}
1718 root : ${{ steps.filter.outputs.root }}
1819 steps :
@@ -26,12 +27,15 @@ jobs:
2627 filters : |
2728 web:
2829 - 'apps/web/**'
30+ university-web:
31+ - 'apps/university-web/**'
2932 admin:
3033 - 'apps/admin/**'
3134 root:
3235 - 'package.json'
3336 - 'pnpm-lock.yaml'
3437 - 'pnpm-workspace.yaml'
38+ - 'scripts/**'
3539 - 'turbo.json'
3640 - '.github/workflows/**'
3741
6266 - name : Run checks (lint & typecheck)
6367 run : pnpm --filter @solid-connect/web run ci:check
6468
69+ # University Web 앱 품질 체크
70+ university-web-quality-check :
71+ name : University Web - Quality Check
72+ runs-on : ubuntu-latest
73+ needs : detect-changes
74+ if : needs.detect-changes.outputs.university-web == 'true' || needs.detect-changes.outputs.root == 'true'
75+ steps :
76+ - name : Checkout repository
77+ uses : actions/checkout@v4
78+
79+ - name : Install pnpm
80+ uses : pnpm/action-setup@v3
81+ with :
82+ version : 9
83+
84+ - name : Setup Node.js
85+ uses : actions/setup-node@v4
86+ with :
87+ node-version : " 22.x"
88+ cache : " pnpm"
89+
90+ - name : Install dependencies
91+ run : pnpm install --frozen-lockfile
92+
93+ - name : Run checks (lint & typecheck)
94+ run : pnpm --filter @solid-connect/university-web run ci:check
95+
6596 # Admin 앱 품질 체크
6697 admin-quality-check :
6798 name : Admin - Quality Check
@@ -120,6 +151,39 @@ jobs:
120151 run : pnpm --filter @solid-connect/web run build
121152 env :
122153 NODE_ENV : production
154+ UNIVERSITY_WEB_DOMAIN : https://university-web.ci.local
155+
156+ # University Web 앱 빌드
157+ university-web-build :
158+ name : University Web - Build
159+ runs-on : ubuntu-latest
160+ needs : [detect-changes, university-web-quality-check]
161+ if : |
162+ always() &&
163+ (needs.detect-changes.outputs.university-web == 'true' || needs.detect-changes.outputs.root == 'true') &&
164+ needs.university-web-quality-check.result == 'success'
165+ steps :
166+ - name : Checkout repository
167+ uses : actions/checkout@v4
168+
169+ - name : Install pnpm
170+ uses : pnpm/action-setup@v3
171+ with :
172+ version : 9
173+
174+ - name : Setup Node.js
175+ uses : actions/setup-node@v4
176+ with :
177+ node-version : " 22.x"
178+ cache : " pnpm"
179+
180+ - name : Install dependencies
181+ run : pnpm install --frozen-lockfile
182+
183+ - name : Build university web application
184+ run : pnpm --filter @solid-connect/university-web run build
185+ env :
186+ NODE_ENV : production
123187
124188 # Admin 앱 빌드
125189 admin-build :
0 commit comments