From 200c2e0a1e16a8452ff8d8fb43b824922c6b1815 Mon Sep 17 00:00:00 2001 From: huchenlei Date: Thu, 13 Jun 2024 20:31:54 -0400 Subject: [PATCH] Fix working dir issue --- .github/workflows/test-ui.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-ui.yaml b/.github/workflows/test-ui.yaml index 213ac1c6a..f866ebb76 100644 --- a/.github/workflows/test-ui.yaml +++ b/.github/workflows/test-ui.yaml @@ -34,11 +34,15 @@ jobs: run: | python main.py --cpu & working-directory: ComfyUI + - name: Build Front-End + run: | + npm ci + npm run build + working-directory: ComfyUI_frontend - name: Run UI tests run: | wait-for-it --service 127.0.0.1:8188 -t 600 npm ci - npm run build npm run test:generate npm test -- --verbose working-directory: ComfyUI_frontend/tests-ui