mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 23:50:08 +00:00
[ci] Add lint:no-cache npm script and update workflows
- Add lint:no-cache script to package.json for linting without cache - Update workflow files to use npm script instead of npx eslint --no-ignore - Add .eslintcache to .gitignore
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..."
|
||||
npx eslint --no-ignore --fix ./src/types/generatedManagerTypes.ts
|
||||
npm run lint:no-cache -- --fix ./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..."
|
||||
npx eslint --no-ignore --fix ./src/types/comfyRegistryTypes.ts
|
||||
npm run lint:no-cache -- --fix ./src/types/comfyRegistryTypes.ts
|
||||
|
||||
- name: Check for changes
|
||||
id: check-changes
|
||||
|
||||
Reference in New Issue
Block a user