feat: Fix issues #761, #762, #763, #764 - Database Pooler and API Gateway Security enhancements #221
Workflow file for this run
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 Checks | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| frontend: | |
| name: Frontend — Lint & Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| version: 10 | |
| - name: Install frontend dependencies | |
| working-directory: frontend | |
| run: pnpm install --frozen-lockfile | |
| - name: Lint frontend | |
| working-directory: frontend | |
| run: pnpm run lint | |
| - name: Build frontend | |
| working-directory: frontend | |
| run: pnpm run build | |
| backend: | |
| name: Backend — Lint & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install backend dependencies | |
| working-directory: backend | |
| run: npm install | |
| - name: Run backend tests | |
| working-directory: backend | |
| run: npm test | |
| env: | |
| NODE_ENV: test | |
| SUPABASE_URL: http://localhost:54321 | |
| SUPABASE_SERVICE_ROLE_KEY: test_key | |
| STELLAR_NETWORK: testnet | |
| DATABASE_URL: postgres://postgres:postgres@localhost:5432/test | |
| REDIS_URL: redis://localhost:6379 | |
| JWT_SECRET: test_secret |