diff --git a/.circleci/conditional-builds.sh b/.circleci/conditional-builds.sh index 3835193e96..ad9274a460 100755 --- a/.circleci/conditional-builds.sh +++ b/.circleci/conditional-builds.sh @@ -1,5 +1,8 @@ #! /usr/bin/env bash +# This script is copied from +# https://github.com/labs42io/circleci-monorepo/blob/v2/.circleci/monorepo.sh + set -e readonly REPO_TYPE=$( echo "${CIRCLE_REPOSITORY_URL}" | awk '{ match($0,/@github/) ? r="github" : r="bitbucket"; print r }' ) diff --git a/.circleci/groups.json b/.circleci/groups.json index f6cfe27e0a..fa914c6021 100644 --- a/.circleci/groups.json +++ b/.circleci/groups.json @@ -1,6 +1,22 @@ { "groups": { - "backend": ["wagtail/", ":!wagtail/**/static_src/"], - "frontend": ["client/", "gulpfile.js/", "wagtail/**/static_src/"] + "backend": [ + "wagtail/", + ":!wagtail/**/static_src/", + "setup.py", + "setup.cfg" + ], + "frontend": [ + "client/", + "docs/_static/", + "gulpfile.js/", + "wagtail/**/static_src/", + ".eslintrc", + ".nvmrc", + ".stylelintrc.yaml", + "package.json", + "package-lock.json", + "tsconfig.json" + ] } }