chore(deps): bump actions/setup-node from 4 to 7 #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: Web App CI | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| jobs: | |
| web-tests: | |
| name: Web App Tests (Lint, Build) | |
| runs-on: ubuntu-latest | |
| env: | |
| DATABASE_URL: "postgresql://fake:fake@localhost:5432/fake" | |
| DIRECT_URL: "postgresql://fake:fake@localhost:5432/fake" | |
| UPSTASH_REDIS_REST_URL: "https://fake.upstash.io" | |
| UPSTASH_REDIS_REST_TOKEN: "fake_token" | |
| STELLAR_NETWORK: "testnet" | |
| PAYGATE_TREASURY_WALLET: "${{ secrets.PAYGATE_TREASURY_WALLET }}" | |
| SOROBAN_CONTRACT_ID: "CDOF7XY3MGEKY3MNNJF5STMADAQRAFSHXP7WQIOCPEXM7O3BTPZYF7WH" | |
| SOROBAN_USDC_CONTRACT: "CDOF7XY3MGEKY3MNNJF5STMADAQRAFSHXP7WQIOCPEXM7O3BTPZYF7WH" | |
| PAYGATE_TREASURY_SECRET_KEY: "${{ secrets.PAYGATE_TREASURY_SECRET_KEY }}" | |
| AGENT_STELLAR_SECRET_KEY: "${{ secrets.AGENT_STELLAR_SECRET_KEY }}" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - run: npm install --legacy-peer-deps --foreground-scripts --no-fund | |
| - run: npx prisma generate | |
| working-directory: apps/web | |
| - run: npm run lint | |
| working-directory: apps/web | |
| - run: npm run test | |
| working-directory: apps/web | |
| - run: npm run build | |
| working-directory: apps/web |