ci: align Gitea CI with GitHub CI + repo hygiene #5

Merged
ilia merged 5 commits from chore/ci-align-and-repo-hygiene into main 2026-07-26 15:01:50 -05:00
Showing only changes of commit 9ef8490e6e - Show all commits

View File

@ -51,6 +51,32 @@ jobs:
run: |
docker run --rm -v "$PWD:/repo" aquasec/trivy:latest config /repo || true
unit-tests:
needs: skip-ci-check
if: needs.skip-ci-check.outputs.should-skip != '1'
runs-on: [homelab, self-hosted, linux]
container:
image: node:22-bookworm
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install dependencies
run: npm ci --workspaces --include-workspace-root
- name: Rebuild better-sqlite3
run: npm --workspace orchestrator rebuild better-sqlite3
- name: Lint (Biome)
run: npm run check:all
- name: Type check (shared + orchestrator)
run: npm run check:types
- name: Unit tests
run: npm run test:all
secret-scan:
needs: skip-ci-check
if: needs.skip-ci-check.outputs.should-skip != '1'