add vite build for agent ui to ci (#221)

This commit is contained in:
Michael Quigley 2024-10-04 12:07:00 -04:00
parent 8bdf4f0548
commit 62e75e9c1f
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -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