Skip to content

docs: add codegraph section #120

docs: add codegraph section

docs: add codegraph section #120

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
audit:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
cache-dependency-path: project/package-lock.json
- name: Install dependencies
working-directory: project
run: npm ci
- name: TypeScript check
working-directory: project
run: npx tsc --noEmit
- name: ESLint
working-directory: project
run: npx eslint .
- name: Tests
working-directory: project
run: CI=true npm test
- name: Secret scan (gitleaks)
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build
working-directory: project
run: npx next build
env:
JWT_SECRET: ci-only-do-not-use-in-prod
DATABASE_URL: file:./build-test.db