[CI] Update frontend install method (#2783)

This commit is contained in:
Chenlei Hu
2025-03-01 10:10:04 -05:00
committed by GitHub
parent b71a851a35
commit ba4bb5774e

View File

@@ -36,12 +36,10 @@ jobs:
with:
node-version: lts/*
- name: Build & Install ComfyUI_frontend
- name: Build ComfyUI_frontend
run: |
npm ci
npm run build
rm -rf ../ComfyUI/web/*
mv dist/* ../ComfyUI/web/
working-directory: ComfyUI_frontend
- name: Generate cache key
@@ -86,7 +84,7 @@ jobs:
- name: Start ComfyUI server
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
working-directory: ComfyUI