chore(deps-dev): bump eslint in /trustsignal-reddit-web (#5) #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 — Web App | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'trustsignal-reddit-web/**' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'trustsignal-reddit-web/**' | |
| jobs: | |
| typecheck-lint-build: | |
| name: Typecheck, Lint & Build | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: trustsignal-reddit-web | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| cache-dependency-path: trustsignal-reddit-web/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Typecheck | |
| run: npx tsc --noEmit | |
| - name: Lint | |
| run: npm run lint | |
| - name: Build | |
| run: npm run build | |
| env: | |
| # Stub env vars so the build doesn't fail in CI without secrets | |
| NEXT_PUBLIC_SUPABASE_URL: https://placeholder.supabase.co | |
| NEXT_PUBLIC_SUPABASE_ANON_KEY: placeholder | |
| SUPABASE_SERVICE_ROLE_KEY: placeholder | |
| STRIPE_SECRET_KEY: placeholder | |
| NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: placeholder | |
| ANTHROPIC_API_KEY: placeholder | |
| security-audit: | |
| name: Security Audit | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: trustsignal-reddit-web | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| cache-dependency-path: trustsignal-reddit-web/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Audit | |
| run: npm audit --audit-level=high |