release.yml (rc + finalize) and hotfix.yml (finalize) ran the full `npm run test:coverage` suite on the release path, redundantly re-running the integration/install/security/slow suites that already passed on the PR lanes into next. Switch those three sites to `npm run test:coverage:unit` (same c8 config, unit suite only) to cut release latency. Full-suite coverage remains available via the dedicated lanes / `test:coverage:all`. Adds a workflow-contract regression test asserting the release/hotfix gates invoke the unit coverage command (exact-line match, not substring). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.8 KiB
1.8 KiB