forked from mirrors/homebox
run frontend build before publish via goreleaser
This commit is contained in:
parent
faed343eda
commit
be6b5c9c56
1 changed files with 11 additions and 0 deletions
11
.github/workflows/tag.yaml
vendored
11
.github/workflows/tag.yaml
vendored
|
@ -29,6 +29,17 @@ jobs:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v2
|
||||||
|
with:
|
||||||
|
version: 7.30.1
|
||||||
|
|
||||||
|
- name: Build Frontend and Copy to Backend
|
||||||
|
working-directory: frontend
|
||||||
|
run: |
|
||||||
|
pnpm install --shamefully-hoist
|
||||||
|
pnpm run build
|
||||||
|
cp -r ./.output/public ../backend/app/api/static/
|
||||||
|
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v4
|
uses: goreleaser/goreleaser-action@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue