Skip to content

chore: merge dependabot PR #8 #9

chore: merge dependabot PR #8

chore: merge dependabot PR #8 #9

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: run: working-directory: ./frontend

Check failure on line 13 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 13
steps:
- 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: run: working-directory: ./backend
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: -
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: -
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'