From 18e5b48b64082da0f7169d9ee5f1d1af12b0ac8b Mon Sep 17 00:00:00 2001 From: huchenlei Date: Thu, 13 Jun 2024 20:29:04 -0400 Subject: [PATCH] build before run tests --- .github/workflows/test-ui.yaml | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/test-ui.yaml b/.github/workflows/test-ui.yaml index 15de04cf7..213ac1c6a 100644 --- a/.github/workflows/test-ui.yaml +++ b/.github/workflows/test-ui.yaml @@ -38,6 +38,7 @@ jobs: 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 diff --git a/README.md b/README.md index 233c4a2cd..32d450840 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ in ComfyUI's front-end code. ## Test +- `npm run build` to build the front end - `cd tests-ui` - `npm i` to install all test dependencies - `npm run test:generate` to fetch `data/object_info.json`