From aa76dd49b711398765d3efc5f522487e03403f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Kwa=C5=9Bniewski?= Date: Fri, 1 Dec 2023 17:02:26 +0100 Subject: [PATCH] fix: ci on main (#44) --- .circleci/config.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 699674805fd9c2..a8c247a37f1465 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,19 +70,17 @@ jobs: command: yarn install - when: condition: - and: - - equal: [ "https://github.com/facebook/react-native", << pipeline.project.git_url >> ] - - or: - - equal: [ main, << pipeline.git.branch >> ] - - matches: - pattern: /0\.[0-9]+[\.[0-9]+]?-stable/ - value: << pipeline.git.branch >> + or: + - equal: [ main, << pipeline.git.branch >> ] + - matches: + pattern: /0\.[0-9]+[\.[0-9]+]?-stable/ + value: << pipeline.git.branch >> steps: - run: name: "[Main or Stable] Create input for config to test everything" command: | mkdir -p /tmp/circleci/ - echo '{ "run_all": true }' > /tmp/circleci/pipeline_config.json + node ./scripts/circleci/pipeline_selection.js filter-jobs - when: condition: not: