mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
build before run tests
This commit is contained in:
1
.github/workflows/test-ui.yaml
vendored
1
.github/workflows/test-ui.yaml
vendored
@@ -38,6 +38,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
wait-for-it --service 127.0.0.1:8188 -t 600
|
wait-for-it --service 127.0.0.1:8188 -t 600
|
||||||
npm ci
|
npm ci
|
||||||
|
npm run build
|
||||||
npm run test:generate
|
npm run test:generate
|
||||||
npm test -- --verbose
|
npm test -- --verbose
|
||||||
working-directory: ComfyUI_frontend/tests-ui
|
working-directory: ComfyUI_frontend/tests-ui
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ in ComfyUI's front-end code.
|
|||||||
|
|
||||||
## Test
|
## Test
|
||||||
|
|
||||||
|
- `npm run build` to build the front end
|
||||||
- `cd tests-ui`
|
- `cd tests-ui`
|
||||||
- `npm i` to install all test dependencies
|
- `npm i` to install all test dependencies
|
||||||
- `npm run test:generate` to fetch `data/object_info.json`
|
- `npm run test:generate` to fetch `data/object_info.json`
|
||||||
|
|||||||
Reference in New Issue
Block a user