test: add missing test coverage for oracle, policy, auth, and stellar… #133
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: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| name: Type-check & build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| run: npm ci --legacy-peer-deps | |
| - name: Generate Prisma client | |
| run: npm run db:generate | |
| # Catches merge artifacts such as duplicate imports and interleaved | |
| # method bodies before they can land on main. | |
| - name: Type-check & build | |
| run: npm run build | |
| - name: Unit tests | |
| run: npx jest --ci |