diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99575de..33bf540 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,18 +24,10 @@ jobs: cache: npm - run: npm ci - run: npx tsc --noEmit - # One step, one line each: the failing script's name is the failure. + # The aggregate is `&&`-chained, so it still stops at the first failure + # and the failing script names itself in its own output. - 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..0793c3c 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 # all nine check scripts ``` `npm run golden` is the extraction golden set. It shells out to the `claude` diff --git a/package.json b/package.json index 20034f3..240982c 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", "landing:check": "tsx scripts/landing-check.ts", "epoch:check": "tsx scripts/epoch-check.ts", "bind:check": "tsx scripts/bind-check.ts",