File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : RIVETO CI Pipeline
2+
3+ # 1. Workflow Triggers
4+ on :
5+ push :
6+ branches : [ "main" ]
7+ pull_request :
8+ branches : [ "main" ]
9+
10+ jobs :
11+ build-and-verify :
12+ name : Build & Lint Monorepo
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ # 2. Checkout the repository code
17+ - name : Checkout Code
18+ uses : actions/checkout@v4
19+
20+ # 3. Set up Node.js environment
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : ' 20.x'
25+ cache : ' npm'
26+
27+ # 4. Install Dependencies (Skipping Root until Lint PR is merged)
28+ # - name: Install Root Dependencies
29+ # run: npm install
30+
31+ - name : Install Frontend Dependencies
32+ working-directory : ./frontend
33+ run : npm install
34+
35+ - name : Install Backend Dependencies
36+ working-directory : ./backend
37+ run : npm install
38+
39+ # 5. Run Linters (Commented out until PR #53 is merged)
40+ # - name: Run ESLint & Prettier Checks
41+ # run: npm run lint
42+
43+ # 6. Build the Frontend
44+ - name : Build Frontend (Vite/React)
45+ working-directory : ./frontend
46+ run : npm run build
47+
48+ # 7. Security Audit
49+ - name : NPM Security Audit
50+ run : npm audit --audit-level=high || true
51+
52+ # 8. Placeholder for future tests
53+ - name : Run Tests (Test-Ready)
54+ run : |
55+ echo "Tests are not fully implemented yet."
56+ # npm run test
You can’t perform that action at this time.
0 commit comments