pre-commit: parallel: true jobs: - name: audit run: pnpm audit --audit-level=high # Must go through the npm script, not `pnpm exec knip`: the script sets # KNIP_DISABLE_RAW_TRANSFER=1. Knip 6's default oxc-parser raw-transfer path # allocates a 6 GiB ArrayBuffer, which Linux refuses under heuristic # overcommit on the CI runner (3.7 GB RAM, no swap). See issue #11. - name: knip run: pnpm knip - name: biome run: pnpm exec biome check . - name: check-ignores run: node scripts/check-lint-ignores.mjs - name: check-classnames run: node scripts/check-cn-classnames.mjs - name: check-props run: node scripts/check-component-props.mjs - name: jscpd run: pnpm jscpd - name: jsinspect run: pnpm jsinspect - name: typecheck-oxlint-test group: piped: true jobs: - name: typecheck run: pnpm exec tsc --build - name: oxlint run: pnpm oxlint - name: test run: pnpm vitest run --reporter=dot --coverage.reporter=text-summary