Skip to content

Commit af9a866

Browse files
committed
ci: change yarn
1 parent bc1fe08 commit af9a866

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/build-electron-win.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,19 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [22.x] # 同时多个 node 环境构建会报错 ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
15+
node-version: [18.x, 20.x, 21.x, 22.x, 23.x, 24.x]
1616

1717
steps:
1818
- uses: actions/checkout@v4
1919
- name: Use Node.js ${{ matrix.node-version }}
2020
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node-version }}
23-
- uses: pnpm/action-setup@v3
24-
with:
25-
version: 8
2623

24+
# Yarn
2725
- name: Build with-electron
2826
working-directory: ./demos/with-electron
2927
run: |
30-
pnpm install --no-frozen-lockfile
31-
pnpm run build:win32
32-
# pnpm run build:win64
28+
yarn install --no-frozen-lockfile
29+
yarn run build:win32
30+
yarn run build:win64

0 commit comments

Comments
 (0)