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@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0 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