Skip to content

Commit

Permalink
add vite build for agent ui to ci (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelquigley committed Oct 4, 2024
1 parent 8bdf4f0 commit 62e75e9
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62e75e9

Please sign in to comment.