Skip to content
Snippets Groups Projects
Unverified Commit 2b0979af authored by Tom Robinson's avatar Tom Robinson Committed by GitHub
Browse files

Merge pull request #8113 from metabase/yarn-ci

Add 'yarn ci' script
parents 808984ec 74a780af
No related branches found
No related tags found
No related merge requests found
...@@ -189,7 +189,11 @@ ...@@ -189,7 +189,11 @@
"echo $npm_execpath | grep -q yarn || echo '\\033[0;33mSorry, npm is not supported. Please use Yarn (https://yarnpkg.com/).\\033[0m'", "echo $npm_execpath | grep -q yarn || echo '\\033[0;33mSorry, npm is not supported. Please use Yarn (https://yarnpkg.com/).\\033[0m'",
"prettier": "prettier --write 'frontend/**/*.{js,jsx,css}'", "prettier": "prettier --write 'frontend/**/*.{js,jsx,css}'",
"docs": "docs":
"documentation build -f html -o frontend/docs frontend/src/metabase-lib/lib/**" "documentation build -f html -o frontend/docs frontend/src/metabase-lib/lib/**",
"ci": "yarn ci-frontend && yarn ci-backend",
"ci-frontend": "yarn lint && yarn flow && yarn test",
"ci-backend":
"lein docstring-checker && lein bikeshed && lein eastwood && lein test"
}, },
"lint-staged": { "lint-staged": {
"frontend/**/*.{js,jsx,css}": ["prettier --write", "git add"] "frontend/**/*.{js,jsx,css}": ["prettier --write", "git add"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment