From fe501169ef55bcbc18b2b077fc8426f54dd0d4df Mon Sep 17 00:00:00 2001 From: Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com> Date: Thu, 11 May 2023 16:59:17 +0200 Subject: [PATCH] [CI] Improve FE sources glob pattern to exclude unit tests (#30639) --- .github/file-paths.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/file-paths.yaml b/.github/file-paths.yaml index c59af74025d..5388d59a6fd 100644 --- a/.github/file-paths.yaml +++ b/.github/file-paths.yaml @@ -14,8 +14,8 @@ shared_specs: &shared_specs frontend_sources: &frontend_sources - *shared_sources - - "enterprise/frontend/**" - - "frontend/!(test)/**" + - "enterprise/frontend/!(test)**/**/{!(*.spec),}.{js,jsx,ts,tsx,css}" + - "frontend/!(test)**/**/{!(*.spec),}.{js,jsx,ts,tsx,css}" - "yarn.lock" - "**/tsconfig*.json" - "package.json" -- GitLab