Skip to content

Commit 667e18c

Browse files
committed
chore: Finalize CI/CD pipeline - add concurrency, test reports, and documentation
- Add concurrency control to workflow (cancel in-progress runs) - Add JUnit test results artifact upload to backend job - Add CI status badge to README - Create comprehensive CI_CD_SETUP.md with branch protection guide - Create CI_CD_CHECKLIST.md with production configuration details - Document auto-merge workflow and troubleshooting tips CI/CD pipeline is now production-ready with: ✅ Frontend: Lint (ESLint 9, --quiet mode) + Build (Vite) ✅ Backend: Compile + Test (JUnit5) + Coverage (JaCoCo) ✅ Auto-merge enabled with branch protection ✅ All artifacts configured (7-day retention)
1 parent 683e1c9 commit 667e18c

File tree

4 files changed

+631
-2
lines changed

4 files changed

+631
-2
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
pull_request:
77
branches: [main, dev]
88

9+
# Cancel redundant runs when a new push is made to the same branch
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
914
jobs:
1015
frontend:
1116
name: Frontend (Lint & Build)
@@ -102,3 +107,11 @@ jobs:
102107
name: jacoco-report
103108
path: backend/target/site/jacoco
104109
retention-days: 7
110+
111+
- name: Upload JUnit test results
112+
if: always()
113+
uses: actions/upload-artifact@v4
114+
with:
115+
name: junit-test-results
116+
path: backend/target/surefire-reports
117+
retention-days: 7

0 commit comments

Comments
 (0)