Skip to content

Commit

Permalink
fix: ci on main (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Feb 2, 2024
1 parent 533c67b commit cf4af38
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 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:
Expand Down

0 comments on commit cf4af38

Please sign in to comment.