test(publish): register rc-guard test in the cross-platform suite

The rc-guard regression test spawns the POSIX-only bash executable,
so per the suite's own policy it must run on the Windows/macOS matrix
rather than only the Ubuntu full suite. Register it in SPAWN_CLI.
This commit is contained in:
auyua9 2026-09-14 07:10:52 +08:00
parent 5c434ee7d6
commit 4a7ecfef5f

View file

@ -267,6 +267,10 @@ const SPAWN_CLI = [
// tree-sitter grammars at import time. The offender regexes match grammar
// paths with either separator, which only the Windows runner proves.
'test/integration/optional-grammars/registry-import-closure.test.ts',
// Spawns `bash` to exercise the rc-guard release-subject regex under real
// nocasematch semantics; bash availability/behavior differs on Windows and
// macOS runners, so the suite must cover it beyond the Ubuntu full run.
'test/unit/publish-rc-guard.test.ts',
];
// Worker threads tests — exercise real worker_threads which have