Commit f14fb5b4 authored by Antoine's avatar Antoine Committed by Antoine

Use cache option of linters to have a faster CI.

parent 5f8c05c2
Pipeline #92957 passed with stages
in 9 minutes and 43 seconds
......@@ -35,3 +35,7 @@ logs
node_modules/
build/
!scripts/build
# Linter cache
.eslintcache
.stylelintcache
\ No newline at end of file
......@@ -20,4 +20,4 @@ esac
shift # past argument or value
done
yarn run -- stylelint $QUIET $FIX "./client/**/*.css"
yarn run -- stylelint --cache $QUIET $FIX "./client/**/*.css"
......@@ -29,5 +29,5 @@ fi
concurrently \
"yarn run check:package-json" \
"yarn run -- eslint $QUIET $FIX $TARGET" \
"yarn run -- eslint --cache $QUIET $FIX $TARGET"\
"yarn run check:lint-css $QUIET $FIX"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment