name: CI on: push: branches: [main] pull_request: concurrency: group: ci-${{ github.ref }} cancel-in-progress: true jobs: check: name: Lint, typecheck, test, build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version-file: .nvmrc cache: npm - run: npm ci - run: npm run lint - run: npm run typecheck - run: npm test - run: npm run build e2e: name: End-to-end tests runs-on: ubuntu-latest # Keep this tag in sync with the @playwright/test version in package-lock.json container: mcr.microsoft.com/playwright:v1.63.0-noble steps: - uses: actions/checkout@v4 - run: npm ci - run: npm run test:e2e env: HOME: /root - uses: actions/upload-artifact@v3 if: failure() with: name: playwright-report path: playwright-report retention-days: 7