fix: 优化 CI 构建流程 - 跳过 tsc,直接运行 vite build,限制内存

This commit is contained in:
2026-04-20 06:45:50 +08:00
parent c6f5cba741
commit aad30bc1e3
+3 -3
View File
@@ -28,9 +28,9 @@ jobs:
run: | run: |
cd web cd web
npm install --global yarn npm install --global yarn
yarn yarn --frozen-lockfile --prefer-offline || yarn
yarn build node --max-old-space-size=4096 ./node_modules/.bin/vite build
cp -r build ../server/resource/ cp -r dist ../server/resource/
- name: Get version - name: Get version
id: version id: version