Skip to content

Commit 258afb0

Browse files
author
王璨
committed
fix: run npm install in web/ before build in CI
1 parent 2ef228f commit 258afb0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/build.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ async function main() {
3636
const webDir = resolve(rootDir, "web");
3737
if (existsSync(webDir)) {
3838
console.log("Building web UI...");
39+
execSync("npm install", { stdio: "inherit", cwd: webDir });
3940
execSync("npm run build", { stdio: "inherit", cwd: webDir });
4041
}
4142

0 commit comments

Comments
 (0)