From 52aa356153a9245f55150bcbce5b510077abfd27 Mon Sep 17 00:00:00 2001 From: BB-fat <1056871944@qq.com> Date: Fri, 14 Aug 2026 11:05:05 +0000 Subject: [PATCH] test(dsh-plugin-browserskill): build the scoped css before vitest The client entry imports the generated bsk-ui.nomodule.css; the file is gitignored, so a fresh CI checkout could not resolve it. Generate it as part of the test script. --- packages/dsh-plugin-browserskill/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dsh-plugin-browserskill/package.json b/packages/dsh-plugin-browserskill/package.json index 50b5b04..709cb9f 100644 --- a/packages/dsh-plugin-browserskill/package.json +++ b/packages/dsh-plugin-browserskill/package.json @@ -36,7 +36,7 @@ "scripts": { "build": "node scripts/build-client-css.mjs && tsdown", "typecheck": "tsc --noEmit", - "test": "vitest run", + "test": "pnpm run build:css && vitest run", "build:css": "node scripts/build-client-css.mjs" }, "peerDependencies": {