ci(buildkite): remove automatic retries for lint step (#2435)
* ci(buildkite): remove automatic retries for lint step * refactor(web): refactor commitlint hook for windowspull/2434/head
parent
0351546cf0
commit
a32d030144
|
@ -28,8 +28,6 @@ env:
|
|||
steps:
|
||||
- label: ":service_dog: Linting"
|
||||
command: "reviewdog -reporter=github-check -filter-mode=nofilter -fail-on-error"
|
||||
retry:
|
||||
automatic: true
|
||||
if: build.branch !~ /^(v[0-9]+\.[0-9]+\.[0-9]+)$\$/ && build.message !~ /\[(skip test|test skip)\]/
|
||||
|
||||
- label: ":hammer_and_wrench: Unit Test"
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
. "$(dirname "$0")/_/husky.sh"
|
||||
. "$(dirname "$0")/required-apps"
|
||||
|
||||
cd web && ${PMGR} commitlint
|
||||
cd web && ${PMGR} run commitlint --edit $1
|
||||
|
|
|
@ -28,8 +28,7 @@
|
|||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
||||
"coverage": "COVERAGE=true craco build",
|
||||
"test": "craco test --coverage --no-cache",
|
||||
"report": "nyc report -r clover -r json -r lcov -r text",
|
||||
"commitlint": "commitlint --edit $1"
|
||||
"report": "nyc report -r clover -r json -r lcov -r text"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
|
|
Loading…
Reference in New Issue