👷 build(repo): migrate to pnpm v11 and consolidate workspace config (#14316)

* 👷 build(repo): migrate to pnpm v11 and consolidate workspace config

Made-with: Cursor

* 👷 fix pnpm v11 install config
This commit is contained in:
Innei
2026-04-30 17:56:22 +08:00
committed by GitHub
parent 5fc7eea754
commit 1d9b6099bd
13 changed files with 217 additions and 115 deletions
@@ -18,17 +18,6 @@ runs:
shell: bash
run: pnpm install --node-linker=hoisted
# 移除国内 electron 镜像配置,GitHub Actions 使用官方源更快
- name: Remove China electron mirror from .npmrc
shell: bash
run: |
NPMRC_FILE="./apps/desktop/.npmrc"
if [ -f "$NPMRC_FILE" ]; then
sed -i.bak '/^electron_mirror=/d; /^electron_builder_binaries_mirror=/d' "$NPMRC_FILE"
rm -f "${NPMRC_FILE}.bak"
echo "✅ Removed electron mirror config from .npmrc"
fi
- name: Install deps on Desktop
shell: bash
run: npm run install-isolated --prefix=./apps/desktop
+1 -1
View File
@@ -213,7 +213,7 @@ jobs:
uses: ./.github/actions/setup-env
- name: Install deps
run: pnpm i
run: pnpm i --config.enable-global-virtual-store=false
- name: Lint
run: bun run lint