test(ci): keep npm scan on plugin prerelease

This commit is contained in:
Vincent Koc
2026-05-02 16:34:20 -07:00
parent 8ec589c9be
commit eb907508e8

View File

@@ -17,6 +17,8 @@ type VitestConfig = {
};
const PLUGIN_PRERELEASE_NPM_SPEC_TEST = "src/plugins/install.npm-spec.test.ts";
const PLUGIN_NPM_INSTALL_SECURITY_SCAN_TEST =
"src/plugins/npm-install-security-scan.release.test.ts";
const GATEWAY_SERVER_BACKED_HTTP_TESTS = new Set([
"src/gateway/embeddings-http.test.ts",
"src/gateway/models-http.test.ts",
@@ -331,6 +333,9 @@ describe("scripts/lib/ci-node-test-plan.mjs", () => {
expect(listMatchedTestFiles(createPluginsVitestConfig({}))).toContain(
PLUGIN_PRERELEASE_NPM_SPEC_TEST,
);
expect(listMatchedTestFiles(createPluginsVitestConfig({}))).toContain(
PLUGIN_NPM_INSTALL_SECURITY_SCAN_TEST,
);
});
it("keeps expensive plugin shards release-only when normal CI asks for the cheaper plan", () => {