name: test on: push: branches: - main pull_request: branches: - main permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.event.number || github.sha }} cancel-in-progress: ${{ github.event_name != 'push' }} jobs: test: runs-on: ubuntu-latest timeout-minutes: 15 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: pnpm/setup@a0881977cd8ea73b1ed212236c99ca10dcc80cf4 # v3.1.1 with: cache: true install: false - 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