name: test on: push: branches: - main - renovate/* - renovate/* pull_request: branches: - main concurrency: group: ${{ github.workflow }}-${{ github.event.number || github.sha }} cancel-in-progress: ${{ github.event_name != 'push' }} jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: corepack enable - uses: actions/setup-node@v4 with: node-version: "22" cache: "pnpm" - name: Install dependencies run: pnpm install --frozen-lockfile - name: Install playwright run: pnpm playwright install - name: Lint project run: pnpm lint - name: Type check run: pnpm test:types - name: Unit tests run: pnpm test