name: Knip on: push: branches: - main pull_request: workflow_dispatch: permissions: {} concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: knip: name: Run Knip runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - uses: ./.github/actions/setup-and-cache - name: Install run: pnpm install --frozen-lockfile - name: Build run: pnpm run build - name: Run Knip run: pnpm run knip