mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 15:40:10 +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
|
||||
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -7,6 +7,9 @@ yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
|
||||
# ESLint cache
|
||||
.eslintcache
|
||||
|
||||
node_modules
|
||||
dist
|
||||
dist-ssr
|
||||
|
||||
Reference in New Issue
Block a user