From 62e75e9c1f4f61c48e602a85994a843034393f37 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Fri, 4 Oct 2024 12:07:00 -0400 Subject: [PATCH] add vite build for agent ui to ci (#221) --- .github/workflows/ci-build.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 9f1569a1..aa0ebcdf 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -29,19 +29,29 @@ jobs: - name: setup-node uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: install ui node modules shell: bash run: npm install working-directory: ui - - name: build node ui + - name: build ui shell: bash run: npm run build working-directory: ui env: CI: "true" + + - name: install vite + shell: bash + run: npm install -g vite + working-directory: agent/agentUi + + - name: build agent ui + shell: bash + run: vite build + working-directory: agent/agentUi - name: go install shell: bash