mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 10:42:44 +00:00
[CI] Update frontend install method (#2783)
This commit is contained in:
6
.github/workflows/test-ui.yaml
vendored
6
.github/workflows/test-ui.yaml
vendored
@@ -36,12 +36,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
|
|
||||||
- name: Build & Install ComfyUI_frontend
|
- name: Build ComfyUI_frontend
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
rm -rf ../ComfyUI/web/*
|
|
||||||
mv dist/* ../ComfyUI/web/
|
|
||||||
working-directory: ComfyUI_frontend
|
working-directory: ComfyUI_frontend
|
||||||
|
|
||||||
- name: Generate cache key
|
- name: Generate cache key
|
||||||
@@ -86,7 +84,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Start ComfyUI server
|
- name: Start ComfyUI server
|
||||||
run: |
|
run: |
|
||||||
python main.py --cpu --multi-user &
|
python main.py --cpu --multi-user --front-end-root ../ComfyUI_frontend/dist &
|
||||||
wait-for-it --service 127.0.0.1:8188 -t 600
|
wait-for-it --service 127.0.0.1:8188 -t 600
|
||||||
working-directory: ComfyUI
|
working-directory: ComfyUI
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user