mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
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:
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": {
|
||||||
|
|||||||
Reference in new issue
Block a user