mirror of
https://github.com/t8y2/dbx.git
synced 2026-11-09 09:15:54 +08:00
ci: drop redundant node setup in aggregate gates
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user