From e2704a8b450dea0cd7f9b5dd2106e387e565dfa2 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 16:15:10 +0000 Subject: [PATCH 1/3] COG-1149: add UserFront CI workflow (mvn verify + AdminPortal build) Co-Authored-By: patrick.bradley --- .github/workflows/userfront-ci.yml | 63 ++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/userfront-ci.yml diff --git a/.github/workflows/userfront-ci.yml b/.github/workflows/userfront-ci.yml new file mode 100644 index 00000000..a6ccccc6 --- /dev/null +++ b/.github/workflows/userfront-ci.yml @@ -0,0 +1,63 @@ +name: UserFront CI + +on: + pull_request: + push: + branches: [master, main] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + userfront-verify: + name: UserFront · mvn verify + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + # Keep in sync with in UserFront/pom.xml (1.8 today). + - name: Set up JDK 8 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '8' + cache: maven + cache-dependency-path: UserFront/pom.xml + + - name: mvn verify + run: mvn -B -f UserFront/pom.xml verify + + - name: Upload surefire reports + if: failure() + uses: actions/upload-artifact@v4 + with: + name: userfront-surefire-reports + path: | + UserFront/target/surefire-reports/ + UserFront/target/failsafe-reports/ + if-no-files-found: ignore + + adminportal-build: + name: AdminPortal · ng build (non-blocking) + runs-on: ubuntu-latest + # Angular CLI 1.1.2 / Angular 4 needs legacy Node 12. + continue-on-error: true + defaults: + run: + working-directory: AdminPortal + steps: + - uses: actions/checkout@v4 + + - name: Set up Node 12 + uses: actions/setup-node@v4 + with: + node-version: '12' + + - name: Install dependencies + run: | + if [ -f package-lock.json ]; then npm ci; else npm install --no-audit --no-fund; fi + + - name: Build + run: npm run build From 449843a7d94c41814c9f467e0c72330beaeb4e55 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 16:16:35 +0000 Subject: [PATCH 2/3] COG-1149: bump actions to v5 (Node 24 runtime) Co-Authored-By: patrick.bradley --- .github/workflows/userfront-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/userfront-ci.yml b/.github/workflows/userfront-ci.yml index a6ccccc6..3fbfaeb6 100644 --- a/.github/workflows/userfront-ci.yml +++ b/.github/workflows/userfront-ci.yml @@ -15,11 +15,11 @@ jobs: name: UserFront · mvn verify runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 # Keep in sync with in UserFront/pom.xml (1.8 today). - name: Set up JDK 8 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: temurin java-version: '8' @@ -31,7 +31,7 @@ jobs: - name: Upload surefire reports if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: userfront-surefire-reports path: | @@ -48,10 +48,10 @@ jobs: run: working-directory: AdminPortal steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Node 12 - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: '12' From f28c095702d8900e31020a5e01074146d2cae5cf Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 16:18:06 +0000 Subject: [PATCH 3/3] COG-1149: upload-artifact v6 (node24) Co-Authored-By: patrick.bradley --- .github/workflows/userfront-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/userfront-ci.yml b/.github/workflows/userfront-ci.yml index 3fbfaeb6..d99370d7 100644 --- a/.github/workflows/userfront-ci.yml +++ b/.github/workflows/userfront-ci.yml @@ -31,7 +31,7 @@ jobs: - name: Upload surefire reports if: failure() - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: userfront-surefire-reports path: |