diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 93e2c85c..539b8881 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -18,6 +18,8 @@ jobs: - uses: ./.github/actions/setup - name: Lint (biome) run: bun run lint + - name: Unused exports (knip) + run: bun run knip - name: Lint (architecture) run: bun run lint:arch - name: Typecheck @@ -116,7 +118,7 @@ jobs: # The action bundle runs under node24, so node is installed beside bun. The whole corpus runs on every event: # scenarios, then fuzz. - e2e-smoke: + e2e: runs-on: ubuntu-latest timeout-minutes: 15 steps: diff --git a/package.json b/package.json index cac8d473..f113860b 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "access": "public" }, "scripts": { - "check": "bun run lint && bun run lint:arch && bun run check:compat && bun run typecheck && bun run test && bun run build:check", + "check": "bun run lint && bun run knip && bun run lint:arch && bun run check:compat && bun run typecheck && bun run test && bun run build:check", "check:compat": "bun .github/scripts/check-compat-markers.ts", "lint": "bun x biome ci --error-on-warnings .", "lint:yaml": "git ls-files -z '*.yml' '*.yaml' | xargs -0 yamllint -s",