Ver Fonte

ci: 增加test的打包入口

liangan há 1 mês atrás
pai
commit
23f64d6c1e
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      package.json

+ 5 - 1
package.json

@@ -4,7 +4,7 @@
   "version": "3.2.0",
   "packageManager": "pnpm@10.10.0",
   "description": "BandhuBuy - APP",
-  "update-time": "2026-01-08",
+  "update-time": "2026-01-12",
   "engines": {
     "node": ">=18",
     "pnpm": ">=7.30"
@@ -39,6 +39,10 @@
     "build:app-ios": "uni build -p app-ios",
     "build:custom": "uni build -p",
     "build:h5": "uni build",
+    "build:test": "uni build --mode test",
+    "build:test:h5": "uni build --mode test",
+    "build:test:mp-weixin": "uni build -p mp-weixin --mode test",
+    "build:test:app": "uni build -p app --mode test",
     "build": "uni build",
     "build:h5:ssr": "uni build --ssr",
     "build:mp-alipay": "uni build -p mp-alipay",