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 : Backend Build Check
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - " backend/**"
8+ - " .github/workflows/backend.yml"
9+ pull_request :
10+ branches : [main]
11+ paths :
12+ - " backend/**"
13+
14+ jobs :
15+ build :
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+
22+ - name : Set up Java 21
23+ uses : actions/setup-java@v4
24+ with :
25+ java-version : " 21"
26+ distribution : " temurin"
27+ cache : " maven"
28+
29+ - name : Make Maven wrapper executable
30+ working-directory : backend
31+ run : chmod +x mvnw
32+
33+ - name : Build backend
34+ working-directory : backend
35+ run : ./mvnw clean package -DskipTests
Original file line number Diff line number Diff line change 1+ name : Frontend Build Check
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - " frontend/**"
8+ - " .github/workflows/frontend.yml"
9+ pull_request :
10+ branches : [main]
11+ paths :
12+ - " frontend/**"
13+
14+ jobs :
15+ build :
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+
22+ - name : Set up Node.js 22
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : " 22"
26+ cache : " npm"
27+ cache-dependency-path : " frontend/package-lock.json"
28+
29+ - name : Install frontend dependencies
30+ working-directory : frontend
31+ run : npm ci
32+
33+ - name : Build frontend
34+ working-directory : frontend
35+ run : npm run build
You can’t perform that action at this time.
0 commit comments