Skip to content

Commit

Permalink
install npm packages in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
vsimakhin committed Jan 29, 2025
1 parent 3e933d8 commit 9481b63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
go-version: 1.23.4

- name: build_ui
run: make build_ui
run: make npm_install build_ui

- name: go vet
run: go vet ./...
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ clean:
fmt:
@go fmt ./...

npm_install:
@echo "Installing npm packages..."
@cd app/ui && npm install
@cd ../../

## build ui
build_ui:
@echo "Building UI..."
Expand Down

0 comments on commit 9481b63

Please sign in to comment.