chore(ci): CI workflow and update scripts (#28)

This commit is contained in:
DigHuang
2026-02-09 22:08:47 -08:00
committed by GitHub
Unverified
parent 7a9fd7fc0f
commit 3379229914
3 changed files with 59 additions and 120 deletions

View File

@@ -19,16 +19,12 @@
"scripts": {
"init": "pnpm install && pnpm run uv:download",
"dev": "vite",
"bundle:openclaw": "zx scripts/bundle-openclaw.mjs",
"build": "vite build && zx scripts/bundle-openclaw.mjs && electron-builder",
"build:vite": "vite build && zx scripts/bundle-openclaw.mjs",
"build:arm": "vite build && zx scripts/bundle-openclaw.mjs && electron-builder --mac --arm64",
"preview": "vite preview",
"build:vite": "vite build",
"lint": "eslint . --fix",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:e2e": "playwright test",
"clean": "node -e \"['dist','dist-electron','release'].forEach(d=>require('fs').rmSync(d,{recursive:true,force:true}))\"",
"uv:download": "zx scripts/download-bundled-uv.mjs",
"uv:download:mac": "zx scripts/download-bundled-uv.mjs --platform=mac",
"uv:download:win": "zx scripts/download-bundled-uv.mjs --platform=win",
@@ -109,4 +105,4 @@
"zx": "^8.8.5"
},
"packageManager": "pnpm@10.29.1+sha512.48dae233635a645768a3028d19545cacc1688639eeb1f3734e42d6d6b971afbf22aa1ac9af52a173d9c3a20c15857cfa400f19994d79a2f626fcc73fccda9bbc"
}
}