Skip to content

Commit

Permalink
Fix CI frontend lint failing to generate bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
mircearoata committed Feb 4, 2024
1 parent 65b9654 commit e3f63b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ jobs:
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest

- name: Generate wails bindings
run: wails generate module
run: |
# Apparently only wails build generates the embedded directory
mkdir -p frontend/build
touch frontend/build/.gitkeep
wails generate module
- name: Install dependencies
working-directory: frontend
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ before:
- go generate -x -tags tools ./...
- go mod tidy
- ./.github/convertWailsJsonPaths.sh

# Apparently only wails build generates the embedded directory
- mkdir -p frontend/build
- touch frontend/build/.gitkeep

- wails generate module
- pnpm -C frontend install
- pnpm -C frontend build
Expand Down

0 comments on commit e3f63b8

Please sign in to comment.