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
2026-08-14 11:05:05 +00:00
parent d1001e14b2
commit 52aa356153
@@ -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": {