File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,19 @@ jobs:
3131 with :
3232 go-version : " 1.23"
3333
34+ - uses : pnpm/action-setup@v4
35+
36+ - uses : actions/setup-node@v4
37+ with :
38+ node-version : " 20"
39+
40+ - name : Install dependencies
41+ run : pnpm install --frozen-lockfile
42+
3443 - name : Build backend binary
3544 run : |
3645 mkdir -p electron-app/binaries
37- cd backend/cmd && go build - o ../../ electron-app/binaries/backend-windows-amd64.exe .
46+ pnpm --filter backend run build:ci -- - o ../electron-app/binaries/backend-windows-amd64.exe ./cmd
3847
3948 - name : Patch backend config
4049 run : sed -i 's/validate = true/validate = false/' backend/cmd/dev-config.toml
4756 kill $PID 2>/dev/null || true
4857 continue-on-error : true
4958
50- - uses : pnpm/action-setup@v4
51-
52- - uses : actions/setup-node@v4
53- with :
54- node-version : " 20"
55- cache : " pnpm"
56-
57- - name : Install dependencies
58- run : pnpm install --frozen-lockfile
59-
6059 - name : Install Electron binary
6160 run : node node_modules/electron/install.js
6261 working-directory : e2e
You can’t perform that action at this time.
0 commit comments