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`