diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2a4e013c..0be2d2ba 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,7 +26,7 @@ jobs: - name: Install dependencies run: npm ci - name: Run linters - run: npm run lint:check + run: npm run lint:release - name: Build run: npm run build - name: Run tests diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b56c0d91..b970b586 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,8 +24,8 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install dependencies run: npm ci - - name: Run lint check - run: npm run lint:check + - name: Run Linters + run: npm run lint:release - name: Build run: npm run build --if-present - name: Run tests diff --git a/package.json b/package.json index 8aedfde9..1797235c 100644 --- a/package.json +++ b/package.json @@ -50,8 +50,9 @@ "prepare": "husky install", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "format:check": "prettier . --check ", - "lint": "prettier . --write && eslint . --fix", - "lint:check": "npm run format:check && npm run lint:check && npm run typecheck && echo '🤖 !linter ✅ success! 🤖'", + "lint:fix": "prettier . --write && eslint . --fix", + "lint:check": "eslint .", + "lint:release": "npm run format:check && npm run lint:check && npm run typecheck && echo '🤖 !linter ✅ success! 🤖'", "lint:staged": "npx --no-install lint-staged", "commit": "cz" },