ci.yml
380 bytes
| 1 | name: CI |
|---|---|
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [main] |
| 6 | pull_request: |
| 7 | |
| 8 | jobs: |
| 9 | check: |
| 10 | runs-on: ubuntu-latest |
| 11 | env: |
| 12 | MOCK_PROVIDERS: '1' |
| 13 | steps: |
| 14 | - uses: actions/checkout@v4 |
| 15 | - uses: actions/setup-node@v4 |
| 16 | with: |
| 17 | node-version: 22 |
| 18 | cache: npm |
| 19 | - run: npm ci |
| 20 | - run: npm run typecheck |
| 21 | - run: npm test |
| 22 | - run: npm run build |
| 23 | |