Skip to content

Commit

Permalink
feat: 移除对lock文件的限制
Browse files Browse the repository at this point in the history
  • Loading branch information
yangmingming committed Oct 21, 2024
1 parent 957f6ca commit 231b902
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 231b902

Please sign in to comment.