git actions
This commit is contained in:
parent
ddd839360a
commit
0c4f222168
2 changed files with 7 additions and 0 deletions
6
.github/workflows/build-test-push.yml
vendored
6
.github/workflows/build-test-push.yml
vendored
|
|
@ -39,6 +39,12 @@ jobs:
|
|||
run: npm run build
|
||||
working-directory: ui/app
|
||||
|
||||
- name: Prepare embedded frontend
|
||||
run: |
|
||||
rm -rf cmd/server/web/dist
|
||||
mkdir -p cmd/server/web/dist
|
||||
cp -R ui/dist/. cmd/server/web/dist/
|
||||
|
||||
- name: Run Go tests
|
||||
run: go test ./...
|
||||
|
||||
|
|
|
|||
1
cmd/server/web/dist/placeholder.txt
vendored
Normal file
1
cmd/server/web/dist/placeholder.txt
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
Frontend assets are generated by `make ui` or the CI workflow before building.
|
||||
Loading…
Add table
Add a link
Reference in a new issue