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 : PR Check Backend
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ paths :
8+ - backend/**
9+ - .github/workflows/pr-backend.yaml
10+ workflow_dispatch :
11+
12+ permissions :
13+ contents : read
14+
15+ jobs :
16+ check :
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - uses : actions/checkout@v6
21+
22+ - name : Set up JDK
23+ uses : actions/setup-java@v5
24+ with :
25+ java-version : " 22"
26+ distribution : " temurin"
27+
28+ - name : Setup Gradle
29+ uses : gradle/actions/setup-gradle@v5
30+
31+ - name : Check
32+ run : ./gradlew check
33+ working-directory : backend
34+
35+ - name : Upload reports on failure
36+ if : failure()
37+ uses : actions/upload-artifact@v7
38+ with :
39+ name : backend-reports
40+ path : |
41+ backend/**/build/reports/
42+ backend/**/build/test-results/
Original file line number Diff line number Diff line change 1+ name : PR Check Frontend
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ paths :
8+ - frontend/**
9+ - .github/workflows/pr-frontend.yaml
10+ workflow_dispatch :
11+
12+ permissions :
13+ contents : read
14+
15+ jobs :
16+ check :
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - uses : actions/checkout@v6
21+
22+ - name : Set up Node
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : " 24"
26+
27+ - name : Set up pnpm
28+ uses : pnpm/action-setup@v4
29+
30+ - name : Install dependencies
31+ run : pnpm install --frozen-lockfile
32+ working-directory : frontend
33+
34+ - name : Lint
35+ run : pnpm lint
36+ working-directory : frontend
37+
38+ - name : Build
39+ run : pnpm build
40+ working-directory : frontend
You can’t perform that action at this time.
0 commit comments