mirror of
https://github.com/openziti/zrok.git
synced 2025-06-27 05:01:26 +02:00
add vite build for agent ui to ci (#221)
This commit is contained in:
parent
8bdf4f0548
commit
62e75e9c1f
14
.github/workflows/ci-build.yml
vendored
14
.github/workflows/ci-build.yml
vendored
@ -29,19 +29,29 @@ jobs:
|
|||||||
- name: setup-node
|
- name: setup-node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
|
|
||||||
- name: install ui node modules
|
- name: install ui node modules
|
||||||
shell: bash
|
shell: bash
|
||||||
run: npm install
|
run: npm install
|
||||||
working-directory: ui
|
working-directory: ui
|
||||||
|
|
||||||
- name: build node ui
|
- name: build ui
|
||||||
shell: bash
|
shell: bash
|
||||||
run: npm run build
|
run: npm run build
|
||||||
working-directory: ui
|
working-directory: ui
|
||||||
env:
|
env:
|
||||||
CI: "true"
|
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
|
- name: go install
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user