ci: drop redundant node setup in aggregate gates

This commit is contained in:
luo jiyin
2026-09-29 02:13:41 +08:00
committed by GitHub
parent 7457fd2930
commit d8e65d29ce
2 changed files with 2 additions and 16 deletions
+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"));
}
});