From 41f5998f68a4c6f09bfabdec73883cf79d6fb09d Mon Sep 17 00:00:00 2001 From: bymyself Date: Tue, 12 Aug 2025 11:46:34 -0700 Subject: [PATCH] [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 --- .github/workflows/update-manager-types.yaml | 2 +- .github/workflows/update-registry-types.yaml | 2 +- package.json | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-manager-types.yaml b/.github/workflows/update-manager-types.yaml index 8768766c0..7933c7cbe 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..." - 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 diff --git a/.github/workflows/update-registry-types.yaml b/.github/workflows/update-registry-types.yaml index e44ef4e55..39a653697 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..." - 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 diff --git a/package.json b/package.json index 60733eed8..7a7cd6803 100644 --- a/package.json +++ b/package.json @@ -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",