File tree Expand file tree Collapse file tree 5 files changed +32
-2
lines changed Expand file tree Collapse file tree 5 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,16 @@ commands:
79
79
type : string
80
80
81
81
steps :
82
+ - run :
83
+ name : Move to Node 18 if Needed
84
+ command :
85
+ node_version=$(node -v)
86
+ major_version=$(echo $node_version | cut -c 2- | cut -d '.' -f 1)
87
+ if [[ $major_version < 18 ]]; then
88
+ nvm install 18.18.0
89
+ else
90
+ echo 'We have the right node version!'
91
+ fi
82
92
- restore_cache :
83
93
keys :
84
94
- << parameters.yarn_base_cache_key >>-{{ arch }}-{{ checksum "yarn.lock" }}
Original file line number Diff line number Diff line change @@ -36,3 +36,10 @@ executors:
36
36
resource_class : macos.x86.medium.gen2
37
37
environment :
38
38
- BUILD_FROM_SOURCE : true
39
+ reactnativeios-lts :
40
+ << : *defaults
41
+ macos :
42
+ xcode : ' 14.1.0'
43
+ resource_class : macos.x86.medium.gen2
44
+ environment :
45
+ - BUILD_FROM_SOURCE : true
Original file line number Diff line number Diff line change @@ -387,7 +387,6 @@ jobs:
387
387
# JOBS: Test iOS Template
388
388
# -------------------------
389
389
test_ios_template :
390
- executor : reactnativeios
391
390
parameters :
392
391
flavor :
393
392
default : " Debug"
@@ -430,6 +429,11 @@ jobs:
430
429
cocoapods_cache_key :
431
430
type : string
432
431
default : *template_cocoapods_cache_key
432
+ executor :
433
+ description : The executor to use
434
+ default : reactnativeios
435
+ type : string
436
+ executor : << parameters.executor >>
433
437
environment :
434
438
- PROJECT_NAME : " iOSTemplateProject"
435
439
- HERMES_WS_DIR : *hermes_workspace_root
@@ -502,7 +506,7 @@ jobs:
502
506
# JOBS: Test iOS RNTester
503
507
# -------------------------
504
508
test_ios_rntester :
505
- executor : reactnativeios
509
+
506
510
parameters :
507
511
jsengine :
508
512
default : " Hermes"
@@ -527,6 +531,11 @@ jobs:
527
531
description : whether unit tests should run or not.
528
532
default : false
529
533
type : boolean
534
+ executor :
535
+ description : The executor to use
536
+ default : reactnativeios
537
+ type : string
538
+ executor : << parameters.executor >>
530
539
steps :
531
540
- checkout_code_with_cache
532
541
- run_yarn
Original file line number Diff line number Diff line change 60
60
ruby_version : " 3.2.0"
61
61
architecture : " NewArch"
62
62
flavor : " Debug"
63
+ executor : reactnativeios-lts
63
64
- test_ios_template :
64
65
requires :
65
66
- build_npm_package
152
153
name : " Test RNTester with Ruby 3.2.0"
153
154
ruby_version : " 3.2.0"
154
155
architecture : " NewArch"
156
+ executor : reactnativeios-lts
155
157
- test_ios_rntester :
156
158
requires :
157
159
- build_hermes_macos
Original file line number Diff line number Diff line change 51
51
ruby_version : " 3.2.0"
52
52
architecture : " NewArch"
53
53
flavor : " Debug"
54
+ executor : reactnativeios-lts
54
55
- test_ios_template :
55
56
requires :
56
57
- build_npm_package
143
144
name : " Test RNTester with Ruby 3.2.0"
144
145
ruby_version : " 3.2.0"
145
146
architecture : " NewArch"
147
+ executor : reactnativeios-lts
146
148
- test_ios_rntester :
147
149
requires :
148
150
- build_hermes_macos
You can’t perform that action at this time.
0 commit comments