build before run tests

This commit is contained in:
huchenlei
2024-06-13 20:29:04 -04:00
parent 6494ddde0b
commit 18e5b48b64
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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`