fix: 优化 CI 构建流程 - 跳过 tsc,直接运行 vite build,限制内存
This commit is contained in:
@@ -28,9 +28,9 @@ jobs:
|
||||
run: |
|
||||
cd web
|
||||
npm install --global yarn
|
||||
yarn
|
||||
yarn build
|
||||
cp -r build ../server/resource/
|
||||
yarn --frozen-lockfile --prefer-offline || yarn
|
||||
node --max-old-space-size=4096 ./node_modules/.bin/vite build
|
||||
cp -r dist ../server/resource/
|
||||
|
||||
- name: Get version
|
||||
id: version
|
||||
|
||||
Reference in New Issue
Block a user