mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 07:30:11 +00:00
[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:
2
.github/workflows/update-manager-types.yaml
vendored
2
.github/workflows/update-manager-types.yaml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/update-registry-types.yaml
vendored
2
.github/workflows/update-registry-types.yaml
vendored
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user