diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 2669c3a..f076189 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -20,6 +20,19 @@ jobs: go-version-file: go.mod cache: true + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: "20" + cache: npm + cache-dependency-path: web/ui/package-lock.json + + - name: Install UI deps + run: npm --prefix ./web/ui ci + + - name: Build UI assets + run: npm --prefix ./web/ui run build + - name: Run tests run: make test