fix: 优化 CI 构建流程 - 跳过 tsc,直接运行 vite build,限制内存
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user