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.
This commit is contained in:
BB-fat committed 2026-08-14 11:05:05 +00:00
1 parent d1001e14b2
commit 52aa356153
1 file changed
+1 -1
@@ -36,7 +36,7 @@
"scripts": { "scripts": {
"build": "node scripts/build-client-css.mjs && tsdown", "build": "node scripts/build-client-css.mjs && tsdown",
"typecheck": "tsc --noEmit", "typecheck": "tsc --noEmit",
"test": "vitest run", "test": "pnpm run build:css && vitest run",
"build:css": "node scripts/build-client-css.mjs" "build:css": "node scripts/build-client-css.mjs"
}, },
"peerDependencies": { "peerDependencies": {