chore: Untrack PROJECT_REPORT.md and add to .gitignore #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: Lint & Test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22.x] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Rebuild native C++ addons | |
| run: npm rebuild better-sqlite3 | |
| - name: Run ESLint | |
| run: npm run lint | |
| - name: Run test suite | |
| run: npm test | |
| env: | |
| # Use dummy keys so tests that check for env vars don't fail | |
| GEMINI_API_KEY: test_key_placeholder | |
| GROQ_API_KEY: test_key_placeholder | |
| JWT_SECRET: test_jwt_secret_for_ci_only_not_real | |
| security: | |
| name: Security Audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: npm | |
| - run: npm ci | |
| - name: Audit for high/critical vulnerabilities | |
| run: npm audit --audit-level=high |