mirror of
https://github.com/Melorise/TamaASR.git
synced 2026-11-07 14:39:32 +00:00
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:
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user