From 1e9ca946a2f065719bea4a38db8349fedf57678b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Kwas=CC=81niewski?= Date: Fri, 1 Dec 2023 16:56:45 +0100 Subject: [PATCH] fix: ci on main --- .circleci/config.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e2f93466b90e91..80537ad791ff8b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,19 +53,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 fo 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: