fix: build desktop frontend before release tests
This commit is contained in:
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -29,6 +29,18 @@ jobs:
|
||||
with:
|
||||
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
|
||||
run: go test ./...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user