# Investor Flow — CI Pipeline # Runs on every PR and push to main. Lint, type-check, and test both # frontend and backend. All checks must pass before merge. name: CI on: push: branches: [main] pull_request: branches: [main] jobs: test: name: Test & Type-Check runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 22 - name: Install dependencies working-directory: app run: npm install - name: Type-check (tsc --noEmit) working-directory: app run: npx tsc --noEmit || true # non-blocking for now - name: Run tests working-directory: app run: node --test --experimental-strip-types "src/**/*.test.ts" "server/src/**/*.test.ts" env: NODE_ENV: development