ci(buildkite): remove automatic retries for lint step (#2435)

* ci(buildkite): remove automatic retries for lint step

* refactor(web): refactor commitlint hook for windows
pull/2434/head
Amir Zarrinkafsh 2021-10-02 15:56:46 +10:00 committed by GitHub
parent 0351546cf0
commit a32d030144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 5 deletions

View File

@ -28,8 +28,6 @@ env:
steps: steps:
- label: ":service_dog: Linting" - label: ":service_dog: Linting"
command: "reviewdog -reporter=github-check -filter-mode=nofilter -fail-on-error" 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)\]/ if: build.branch !~ /^(v[0-9]+\.[0-9]+\.[0-9]+)$\$/ && build.message !~ /\[(skip test|test skip)\]/
- label: ":hammer_and_wrench: Unit Test" - label: ":hammer_and_wrench: Unit Test"

2
.github/commit-msg vendored
View File

@ -2,4 +2,4 @@
. "$(dirname "$0")/_/husky.sh" . "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/required-apps" . "$(dirname "$0")/required-apps"
cd web && ${PMGR} commitlint cd web && ${PMGR} run commitlint --edit $1

View File

@ -28,8 +28,7 @@
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix", "lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"coverage": "COVERAGE=true craco build", "coverage": "COVERAGE=true craco build",
"test": "craco test --coverage --no-cache", "test": "craco test --coverage --no-cache",
"report": "nyc report -r clover -r json -r lcov -r text", "report": "nyc report -r clover -r json -r lcov -r text"
"commitlint": "commitlint --edit $1"
}, },
"eslintConfig": { "eslintConfig": {
"extends": "react-app" "extends": "react-app"