From eb907508e89f37a39b6d37ab2c25d6e4e672b7c5 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sat, 2 May 2026 16:34:20 -0700 Subject: [PATCH] test(ci): keep npm scan on plugin prerelease --- test/scripts/ci-node-test-plan.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/scripts/ci-node-test-plan.test.ts b/test/scripts/ci-node-test-plan.test.ts index 1999ee462d5..bcf0a00577c 100644 --- a/test/scripts/ci-node-test-plan.test.ts +++ b/test/scripts/ci-node-test-plan.test.ts @@ -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", () => {