284cac18f3
Frontend CI Pipeline / ci-frontend-8-steps (push) Failing after 1m16s
Validators (Pushes and Pull Requests) / UI & Storage Validation (push) Failing after 12s
Validators (Pushes and Pull Requests) / Database & Schema Validation (push) Successful in 9s
Validators (Pushes and Pull Requests) / Security & Secrets (push) Successful in 8s
Validators (Pushes and Pull Requests) / CI Workflow Lint (push) Failing after 8s
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (push) Failing after 22s
Validators (Pushes and Pull Requests) / .NET Contracts (push) Has been skipped
Validators (Pushes and Pull Requests) / WBS & Audit Validations (push) Has been skipped
Validators (Pushes and Pull Requests) / Calibration & Performance (push) Has been skipped
Validators (Pushes and Pull Requests) / Operational Report & Decision Packet (push) Has been skipped
Workflow Lint & Validation / Validate Secrets Contract (push) Successful in 7s
Validators (Pushes and Pull Requests) / Notify PR Results (push) Has been skipped
Workflow Lint & Validation / Lint All Workflow Files (push) Failing after 14s
Workflow Lint & Validation / Notify Lint Results (push) Failing after 1s
64 lines
1.6 KiB
YAML
64 lines
1.6 KiB
YAML
name: Frontend CI Pipeline
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, master, "feature/**" ]
|
|
pull_request:
|
|
branches: [ main, master ]
|
|
|
|
jobs:
|
|
ci-frontend-8-steps:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Source Code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Node.js Environment
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '20'
|
|
cache: 'npm'
|
|
cache-dependency-path: 'src/frontend/package-lock.json'
|
|
|
|
- name: 1. Install Dependencies
|
|
run: |
|
|
cd src/frontend
|
|
npm ci
|
|
|
|
- name: 2. TypeScript Strict TypeCheck
|
|
run: |
|
|
cd src/frontend
|
|
npm run type-check
|
|
|
|
- name: 3. Lint & Boundary Rules Check
|
|
run: |
|
|
cd src/frontend
|
|
echo "Checking import boundary rules..."
|
|
# Prevent direct domain -> Vue/Router imports
|
|
! grep -r "import.*from ['\"]vue['\"]" src/domain 2>/dev/null || exit 1
|
|
|
|
- name: 4. Unit Testing (Vitest)
|
|
run: |
|
|
cd src/frontend
|
|
npm run test:unit
|
|
|
|
- name: 5. Enterprise Contract Parity Test
|
|
run: |
|
|
python tools/validate_enterprise_crud_specification_v1.py
|
|
|
|
- name: 6. Vite Production Build
|
|
run: |
|
|
cd src/frontend
|
|
npm run build
|
|
|
|
- name: 7. End-to-End Testing (Playwright)
|
|
run: |
|
|
cd src/frontend
|
|
npx playwright install --with-deps chromium
|
|
npm run test:e2e --if-present
|
|
|
|
- name: 8. Security Audit & Secret Detection
|
|
run: |
|
|
cd src/frontend
|
|
npm audit --audit-level=high || true
|