From b4788d7cb26ee41a19a6ededb5be3718a16f467c Mon Sep 17 00:00:00 2001 From: bymyself Date: Mon, 11 Aug 2025 20:36:13 -0700 Subject: [PATCH] [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 --- .github/workflows/update-manager-types.yaml | 2 +- .github/workflows/update-registry-types.yaml | 2 +- .gitignore | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-manager-types.yaml b/.github/workflows/update-manager-types.yaml index 1c6ae676b..8768766c0 100644 --- a/.github/workflows/update-manager-types.yaml +++ b/.github/workflows/update-manager-types.yaml @@ -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 diff --git a/.github/workflows/update-registry-types.yaml b/.github/workflows/update-registry-types.yaml index b9d34d15f..e44ef4e55 100644 --- a/.github/workflows/update-registry-types.yaml +++ b/.github/workflows/update-registry-types.yaml @@ -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 diff --git a/.gitignore b/.gitignore index b49947757..a5347cd65 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,9 @@ yarn-error.log* pnpm-debug.log* lerna-debug.log* +# ESLint cache +.eslintcache + node_modules dist dist-ssr