Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

chore: repair CI workflow corruption and standardize triggers to master #11

chore: repair CI workflow corruption and standardize triggers to master

chore: repair CI workflow corruption and standardize triggers to master #11

Workflow file for this run

name: Continuous Integration
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
frontend:
name: Frontend (Next.js)
runs-on: ubuntu-latest
steps:

Check failure on line 15 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache-dependency-path: './frontend/package-lock.json'
- name: Install dependencies
run: npm ci
- name: Build Next.js
run: npm run build
env:
NEXT_TELEMETRY_DISABLED: 1
backend:
name: Backend (Python)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Syntax check
run: python -m py_compile $(find . -name "*.py" | head -20) || true
security_scan:
name: Security Scan (Trivy)
needs: [frontend, backend]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'table'
exit-code: '0'
severity: 'CRITICAL,HIGH'