ci: Add linting step for generated API types

- Add ESLint validation to registry and manager type generation workflows
- Ensures generated files meet code standards even though they're ignored in regular lint runs
- Uses --no-ignore flag to lint specific files despite ESLint ignore patterns

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
bymyself
2025-08-11 16:04:16 -07:00
parent dbdef501e4
commit 8852563f40
2 changed files with 10 additions and 0 deletions

View File

@@ -61,6 +61,11 @@ jobs:
exit 1
fi
- name: Lint generated types
run: |
echo "Linting generated ComfyUI-Manager API types..."
npx eslint --no-ignore ./src/types/generatedManagerTypes.ts
- name: Check for changes
id: check-changes
run: |

View File

@@ -61,6 +61,11 @@ jobs:
exit 1
fi
- name: Lint generated types
run: |
echo "Linting generated Comfy Registry API types..."
npx eslint --no-ignore ./src/types/comfyRegistryTypes.ts
- name: Check for changes
id: check-changes
run: |