From fd864938bd885d9c57546270a2358e5a6e4efd16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jerci=C5=84ski?= Date: Fri, 4 Sep 2026 13:13:36 +0200 Subject: [PATCH] chore: retire the legacy CI review pipeline --- .githooks/pre-commit | 9 +- .github/workflows/checks.yml | 15 ++- .github/workflows/commit-msg.yml | 13 ++- .github/workflows/dedupe-check.yml | 12 ++- .github/workflows/pr-review.yml | 44 -------- .github/workflows/release-npm.yml | 2 +- .node-version | 1 + .oxfmtrc.json | 2 + README.md | 2 +- knip.json | 3 +- package.json | 4 +- pnpm-lock.yaml | 164 ++++++++++++++--------------- tsconfig.app.json | 3 +- tsconfig.base.json | 2 +- tsconfig.test.json | 3 +- 15 files changed, 138 insertions(+), 141 deletions(-) delete mode 100644 .github/workflows/pr-review.yml create mode 100644 .node-version diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 71c5439..c20725f 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -3,10 +3,12 @@ set -euo pipefail ignored_staged_paths=( - ":(exclude).agents/**" ":(exclude).claude/**" ":(exclude).clawpatch/**" ":(exclude).codex/**" + ":(exclude).agents/rules/**" + ":(exclude).agents/*.md" + ":(exclude).agents/**/*.md" ) git diff --cached --check -- . "${ignored_staged_paths[@]}" @@ -70,10 +72,9 @@ run_script() { if [[ -f pnpm-lock.yaml ]] && command -v pnpm >/dev/null 2>&1; then if has_staged_changes package.json pnpm-lock.yaml pnpm-workspace.yaml; then - # Order matters: dedupe is the cheaper read-only check, so fail fast on - # lockfile bloat before the heavier lockfile-vs-package.json sync check. + # Materialize first: dedupe --check can purge a topology-mismatched node_modules before its check-only phase. + pnpm install --frozen-lockfile --ignore-scripts --config.confirm-modules-purge=false --config.optimistic-repeat-install=false pnpm dedupe --check --config.confirm-modules-purge=false - pnpm install --frozen-lockfile --ignore-scripts --config.confirm-modules-purge=false fi fi diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index acaebf7..3980ba5 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -7,10 +7,23 @@ on: pull_request: types: [opened, reopened, synchronize] +# pnpm 11 defaults verify-deps-before-run to "install": the first `pnpm +#