fix(common): 🐛 modify the location of the remote login window

fix packaging failure due to insufficient memory in js and node
This commit is contained in:
Dawn
2025-11-06 02:33:39 +08:00
parent 8d2c89b11f
commit c01304fb35
18 changed files with 250 additions and 606 deletions

View File

@@ -38,6 +38,8 @@ jobs:
run: pnpm install
- name: Generate frontend build (typings & assets)
env:
NODE_OPTIONS: --max-old-space-size=4096
run: pnpm vite build --emptyOutDir
- name: Upload generated component typings
@@ -109,6 +111,8 @@ jobs:
cache: 'pnpm'
- name: Install dependencies
env:
NODE_OPTIONS: --max-old-space-size=4096
run: pnpm install
# 安装 Rust
@@ -131,6 +135,8 @@ jobs:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
# 使用之前配置的私钥密码
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
# 增加 Node.js 内存限制,避免构建时内存溢出
NODE_OPTIONS: --max-old-space-size=4096
with:
tagName: v__VERSION__ #这个动作会自动将\_\_VERSION\_\_替换为app version
releaseName: 'v__VERSION__'