From be6b5c9c564ddebeb4a49b2e72412a6cd29b0bab Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Thu, 23 Mar 2023 09:41:15 -0800 Subject: [PATCH] run frontend build before publish via goreleaser --- .github/workflows/tag.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index d0feb3a..ce558bb 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -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: