SPB Git forge

spb/uqo-chat

Public
14commits 1branches 0releases
1.4 MBsize
maindefault branch
17 days agolast push
Python 64.6% TypeScript 33.7% CSS 0.8%
1019 B · 26 lines yaml
Raw Blame History
1name: ci2on: { pull_request: {}, push: { branches: [main] } }3jobs:4  backend:5    runs-on: ubuntu-latest6    steps:7      - uses: actions/checkout@v48      - uses: astral-sh/setup-uv@v39      - run: cd backend && uv venv --python 3.12 .venv && uv pip install --python .venv/bin/python -e ".[dev]"10      - run: cd backend && .venv/bin/ruff check app scripts tests && .venv/bin/pytest -q11  frontend:12    runs-on: ubuntu-latest13    steps:14      - uses: actions/checkout@v415      - uses: actions/setup-node@v416        with: { node-version: 22, cache: npm, cache-dependency-path: frontend/package-lock.json }17      - run: cd frontend && npm ci && npm run build18  images:19    needs: [backend, frontend]20    runs-on: ubuntu-latest21    steps:22      - uses: actions/checkout@v423      - run: docker build -f backend/Dockerfile -t uqo-chat-api . && docker build -t uqo-chat-sandbox sandbox-runner24      - uses: aquasecurity/trivy-action@master25        with: { image-ref: uqo-chat-api, severity: "CRITICAL,HIGH", exit-code: "0" }26