Skip to content

Commit 9757832

Browse files
committed
chore: some changes in workflow
1 parent 89bcc1e commit 9757832

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/e2e-tests.yaml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff 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
@@ -47,16 +56,6 @@ jobs:
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

0 commit comments

Comments
 (0)