Skip to content

Commit 11101cf

Browse files
committed
ci: update build workflow to use pnpm exec for vite and electron-builder
1 parent 4145e5a commit 11101cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
run: pnpm run rebuild
112112

113113
- name: Build application
114-
run: vite build && npm run build:main && electron-builder --config electron-builder.sponsored.json --${{ matrix.platform }} ${{ matrix.arch }}
114+
run: pnpm exec vite build && pnpm run build:main && pnpm exec electron-builder --config electron-builder.sponsored.json --${{ matrix.platform }} ${{ matrix.arch }}
115115
env:
116116
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117117
TAG: ${{ github.ref_name || inputs.tag }}

0 commit comments

Comments
 (0)