From 7da81cbae8133fd07cb30ba8df9339339cd2884c Mon Sep 17 00:00:00 2001 From: DiegoAndai Date: Fri, 27 Dec 2024 11:47:01 -0300 Subject: [PATCH 1/2] Add react-18 and react-18-cron jobs --- .circleci/config.yml | 50 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 732f0800d3e056..34e8e79ca3e3b2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -897,6 +897,56 @@ workflows: # react-version: ^17.0.0 # name: test_e2e-react@17 + # This workflow can be triggered manually on the PR + react-18: + when: + equal: [react-18, << pipeline.parameters.workflow >>] + jobs: + - test_unit: + <<: *default-context + react-version: ^18.0.0 + name: test_unit-react@18 + - test_browser: + <<: *default-context + react-version: ^18.0.0 + name: test_browser-react@18 + - test_regressions: + <<: *default-context + react-version: ^18.0.0 + name: test_regressions-react@18 + - test_e2e: + <<: *default-context + react-version: ^18.0.0 + name: test_e2e-react@18 + + # This workflow is identical to react-18, but scheduled + react-18-cron: + triggers: + - schedule: + cron: '0 0 * * *' + filters: + branches: + only: + - master + - next + jobs: + - test_unit: + <<: *default-context + react-version: ^18.0.0 + name: test_unit-react@18 + - test_browser: + <<: *default-context + react-version: ^18.0.0 + name: test_browser-react@18 + - test_regressions: + <<: *default-context + react-version: ^18.0.0 + name: test_regressions-react@18 + - test_e2e: + <<: *default-context + react-version: ^18.0.0 + name: test_e2e-react@18 + # This workflow can be triggered manually on the PR react-next: when: From 5344afe9c719949223fdfa168f3da129311c3a67 Mon Sep 17 00:00:00 2001 From: DiegoAndai Date: Fri, 27 Dec 2024 14:55:35 -0300 Subject: [PATCH 2/2] Run React 18 tests on v5.x branch --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 34e8e79ca3e3b2..e2d955df8d7671 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -929,6 +929,7 @@ workflows: only: - master - next + - v5.x jobs: - test_unit: <<: *default-context