[ci] Add lint:fix:no-cache script for consistency

- Add lint:fix:no-cache to match the existing script naming pattern
- Update workflows to use lint:fix:no-cache instead of lint:no-cache -- --fix
This commit is contained in:
bymyself
2025-08-12 11:46:34 -07:00
parent b4788d7cb2
commit 41f5998f68
3 changed files with 3 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ jobs:
- name: Lint generated types
run: |
echo "Linting generated ComfyUI-Manager API types..."
npm run lint:no-cache -- --fix ./src/types/generatedManagerTypes.ts
npm run lint:fix:no-cache -- ./src/types/generatedManagerTypes.ts
- name: Check for changes
id: check-changes

View File

@@ -64,7 +64,7 @@ jobs:
- name: Lint generated types
run: |
echo "Linting generated Comfy Registry API types..."
npm run lint:no-cache -- --fix ./src/types/comfyRegistryTypes.ts
npm run lint:fix:no-cache -- ./src/types/comfyRegistryTypes.ts
- name: Check for changes
id: check-changes

View File

@@ -24,6 +24,7 @@
"lint": "eslint src --cache",
"lint:fix": "eslint src --cache --fix",
"lint:no-cache": "eslint src",
"lint:fix:no-cache": "eslint src --fix",
"knip": "knip",
"locale": "lobe-i18n locale",
"collect-i18n": "playwright test --config=playwright.i18n.config.ts",