From 231b902b9141ea2b12aa8cfadaa1574be07d2940 Mon Sep 17 00:00:00 2001 From: yangmingming Date: Tue, 22 Oct 2024 01:38:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=E5=AF=B9lock?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=9A=84=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-mac.yml | 2 +- .github/workflows/build-windows.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-mac.yml b/.github/workflows/build-mac.yml index e1eb4ff..996ad5e 100644 --- a/.github/workflows/build-mac.yml +++ b/.github/workflows/build-mac.yml @@ -37,7 +37,7 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'pnpm' - name: Install dependencies - run: pnpm install --frozen-lockfile + run: pnpm install # 只安装intel版的sharp库即可, m1上可以运行intel的代码 - run: pnpm install --platform=darwin --arch=x64 sharp - run: cd ./client && pnpm install && cd .. diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 9e84352..f7553c9 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -34,7 +34,7 @@ jobs: cache: 'pnpm' # 先执行electron的构建, 节约调试时间 - name: Install dependencies - run: pnpm install --frozen-lockfile + run: pnpm install # sharp需要单独安装 # - run: npm install --platform=win32 --arch=x64 sharp # - run: npm rebuild --platform=win32 --arch=ia32 sharp