build: 迁移依赖管理至 pnpm

AI-assisted-by: Codex

AI-model: gpt-5.6-sol

AI-reasoning-effort: medium

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
2026-08-26 23:42:53 +08:00
co-authored by Codex
parent 16ddf53186
commit 43faa05c30
20 changed files with 2622 additions and 4225 deletions
+9 -4
View File
@@ -87,10 +87,15 @@ jobs:
with:
ref: ${{ needs.update-flake-lock.outputs.commit_sha }}
- uses: pnpm/action-setup@v4
with:
version: 11.21.0
run_install: false
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache: pnpm
- name: 安装系统构建依赖
run: |
@@ -105,9 +110,9 @@ jobs:
MELOASR_DEB_ARCH: ${{ matrix.deb_arch }}
MELOASR_ELECTRON_APP_DIR: ${{ matrix.electron_app_dir }}
run: |
npm ci
npm run package:deb
npm run package:rpm
pnpm install --frozen-lockfile
pnpm run package:deb
pnpm run package:rpm
mkdir -p release-artifacts
cp packaging/out/*.deb packaging/out/*.rpm release-artifacts/