diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99575de..2e90c37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,18 +24,9 @@ jobs: cache: npm - run: npm ci - run: npx tsc --noEmit - # One step, one line each: the failing script's name is the failure. + # Aggregate; && short-circuits, so the failing script's own output names it. - name: check scripts - run: | - npm run landing:check - npm run epoch:check - npm run bind:check - npm run dedupe:check - npm run reentry:check - npm run unclaimed:check - npm run notify:check - npm run spawn:check - npm run scope:check + run: npm run check rust: name: rust (${{ matrix.os }}) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fabd3dd..e6ed56c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,9 +24,7 @@ These are the merge gates. CI runs all of them except `golden`: ```bash npx tsc --noEmit # TypeScript, strict cd src-tauri && cargo clippy --all-targets -- -D warnings && cargo test -npm run landing:check && npm run epoch:check && npm run bind:check \ - && npm run dedupe:check && npm run reentry:check && npm run unclaimed:check \ - && npm run notify:check && npm run spawn:check && npm run scope:check +npm run check ``` `npm run golden` is the extraction golden set. It shells out to the `claude` diff --git a/package.json b/package.json index 20034f3..dfde95e 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "tauri": "tauri", "reinstall": "sh scripts/reinstall.sh", "golden": "tsx scripts/golden.ts", + "check": "npm run landing:check && npm run epoch:check && npm run bind:check && npm run dedupe:check && npm run reentry:check && npm run unclaimed:check && npm run notify:check && npm run spawn:check && npm run scope:check && npm run clock:check && npm run delta:check", "landing:check": "tsx scripts/landing-check.ts", "epoch:check": "tsx scripts/epoch-check.ts", "bind:check": "tsx scripts/bind-check.ts",