ci: drop redundant node setup in aggregate gates

This commit is contained in:
luo jiyin authored and GitHub committed 2026-09-29 02:13:41 +08:00
1 parent 7457fd2930
commit d8e65d29ce
2 files changed
+2 -16

No files matched your search

+2
View File
@@ -47,6 +47,8 @@ test("stable Rust, Agent and overall gates always inspect selected upstream resu
assert.match(content, /if: always\(\)/);
assert.ok(content.includes(`node .github/scripts/ci-gate.mjs ${mode}`));
assert.ok(content.includes("${{ toJSON(needs) }}"));
assert.ok(content.includes("uses: actions/checkout@v7"));
assert.doesNotMatch(content, /actions\/setup-node|name: Setup Node\.js/);
for (const dependency of dependencies) assert.match(content, new RegExp(`^ - ${dependency}$`, "m"));
}
});