fix: build desktop frontend before release tests

This commit is contained in:
lutc5
2026-04-29 18:50:27 +08:00
parent 92c8735bfc
commit 5cc282eb14

View File

@@ -29,6 +29,18 @@ jobs:
with: with:
go-version-file: go.mod go-version-file: go.mod
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
cache-dependency-path: desktop/frontend/package-lock.json
- name: Build desktop frontend
run: |
npm ci --prefix desktop/frontend
npm run build --prefix desktop/frontend
- name: Run tests - name: Run tests
run: go test ./... run: go test ./...