chore(deploy): install dependencies before build

This commit is contained in:
2026-06-17 17:40:01 +08:00
parent 5d66cef85c
commit 7f8e327582
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -5,8 +5,9 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"build:deploy": "pnpm install && pnpm run build",
"start": "next start -p 9135",
"build:start": "npm run build && npm run start",
"build:start": "pnpm install && pnpm run build && pnpm run start",
"lint": "eslint",
"lint:fix": "eslint --fix",
"test": "vitest run",