run frontend build before publish via goreleaser

This commit is contained in:
Hayden 2023-03-23 09:41:15 -08:00
parent faed343eda
commit be6b5c9c56
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -29,6 +29,17 @@ jobs:
- name: Set up Go
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
uses: goreleaser/goreleaser-action@v4
with: