diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 31111332ea..ed4d9d8254 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: - name: Installation run: yarn - name: Lint - run: yarn lint + run: yarn lint:ci - name: Prettier Code run: yarn prettier:diff - name: Prettier Docs diff --git a/package.json b/package.json index c5458ba99e..406cb3b071 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "prettier-docs": "prettier --config .prettierrc --write \"**/*.{md,mdx}\"", "prettier-docs:diff": "prettier --config .prettierrc --list-different \"**/*.{md,mdx}\"", "lint": "yarn lint:js && yarn lint:style", + "lint:ci": "yarn lint:js --quiet && yarn lint:style", "lint:js": "eslint --cache \"**/*.{js,jsx,ts,tsx}\"", "lint:style": "stylelint \"**/*.css\"", "lerna": "lerna",