From 5fad41f568cfa297823c1016b2ae49015e1b1cfc Mon Sep 17 00:00:00 2001 From: Quentin Lemaire Date: Thu, 25 Jan 2024 00:43:55 +0100 Subject: [PATCH] fix(ci): Build UI on CI --- .github/workflows/ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9d39324..cc54db5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,6 +29,12 @@ jobs: with: go-version: 1.21 + - name: Setup task + uses: arduino/setup-task@v1 + + - name: Build frontend + run: task ui:build --force + - name: Lint uses: golangci/golangci-lint-action@v3 with: @@ -58,6 +64,12 @@ jobs: - name: Install ko uses: imjasonh/setup-ko@v0.6 + - name: Setup task + uses: arduino/setup-task@v1 + + - name: Build frontend + run: task ui:build --force + - name: Build and push snapshot Docker image env: KO_DOCKER_REPO: ghcr.io/skynewz/gh-stars-search-engine