frontend wf restrict warnings (#1655)
This commit is contained in:
parent
cc926b2fc9
commit
9cfbf20b70
2 changed files with 2 additions and 1 deletions
2
.github/workflows/frontend.yaml
vendored
2
.github/workflows/frontend.yaml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
||||||
- name: Linter
|
- name: Linter
|
||||||
run: |
|
run: |
|
||||||
cd kafka-ui-react-app/
|
cd kafka-ui-react-app/
|
||||||
npm run lint
|
npm run lint:CI
|
||||||
- name: Tests
|
- name: Tests
|
||||||
run: |
|
run: |
|
||||||
cd kafka-ui-react-app/
|
cd kafka-ui-react-app/
|
||||||
|
|
|
@ -55,6 +55,7 @@
|
||||||
"build": "react-scripts build",
|
"build": "react-scripts build",
|
||||||
"lint": "eslint --ext .tsx,.ts src/",
|
"lint": "eslint --ext .tsx,.ts src/",
|
||||||
"lint:fix": "eslint --ext .tsx,.ts src/ --fix",
|
"lint:fix": "eslint --ext .tsx,.ts src/ --fix",
|
||||||
|
"lint:CI": "eslint --ext .tsx,.ts src/ --max-warnings=0",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"test:CI": "CI=true npm test -- --coverage --ci --testResultsProcessor=\"jest-sonar-reporter\" --watchAll=false",
|
"test:CI": "CI=true npm test -- --coverage --ci --testResultsProcessor=\"jest-sonar-reporter\" --watchAll=false",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
|
|
Loading…
Add table
Reference in a new issue