File tree Expand file tree Collapse file tree 5 files changed +33
-2
lines changed Expand file tree Collapse file tree 5 files changed +33
-2
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,17 @@ 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
+
88
+ if [[ $major_version < 18 ]]; then
89
+ nvm install 18.18.0
90
+ else
91
+ echo 'We have the right node version!'
92
+ fi
82
93
- restore_cache :
83
94
keys :
84
95
- << 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 @@ -386,7 +386,6 @@ jobs:
386
386
# JOBS: Test iOS Template
387
387
# -------------------------
388
388
test_ios_template :
389
- executor : reactnativeios
390
389
parameters :
391
390
flavor :
392
391
default : " Debug"
@@ -424,6 +423,11 @@ jobs:
424
423
cocoapods_cache_key :
425
424
type : string
426
425
default : *template_cocoapods_cache_key
426
+ executor :
427
+ description : The executor to use
428
+ default : reactnativeios
429
+ type : string
430
+ executor : << parameters.executor >>
427
431
environment :
428
432
- PROJECT_NAME : " iOSTemplateProject"
429
433
- HERMES_WS_DIR : *hermes_workspace_root
@@ -492,7 +496,7 @@ jobs:
492
496
# JOBS: Test iOS RNTester
493
497
# -------------------------
494
498
test_ios_rntester :
495
- executor : reactnativeios
499
+
496
500
parameters :
497
501
jsengine :
498
502
default : " Hermes"
@@ -517,6 +521,11 @@ jobs:
517
521
description : whether unit tests should run or not.
518
522
default : false
519
523
type : boolean
524
+ executor :
525
+ description : The executor to use
526
+ default : reactnativeios
527
+ type : string
528
+ executor : << parameters.executor >>
520
529
steps :
521
530
- checkout_code_with_cache
522
531
- run_yarn
Original file line number Diff line number Diff line change 61
61
ruby_version : " 3.2.0"
62
62
architecture : " NewArch"
63
63
flavor : " Debug"
64
+ executor : reactnativeios-lts
64
65
- test_ios_template :
65
66
requires :
66
67
- build_npm_package
82
83
name : " Test RNTester with Ruby 3.2.0"
83
84
ruby_version : " 3.2.0"
84
85
architecture : " NewArch"
86
+ executor : reactnativeios-lts
85
87
- test_ios_rntester :
86
88
requires :
87
89
- build_hermes_macos
Original file line number Diff line number Diff line change 52
52
ruby_version : " 3.2.0"
53
53
architecture : " NewArch"
54
54
flavor : " Debug"
55
+ executor : reactnativeios-lts
55
56
- test_ios_template :
56
57
requires :
57
58
- build_npm_package
73
74
name : " Test RNTester with Ruby 3.2.0"
74
75
ruby_version : " 3.2.0"
75
76
architecture : " NewArch"
77
+ executor : reactnativeios-lts
76
78
- test_ios_rntester :
77
79
requires :
78
80
- build_hermes_macos
You can’t perform that action at this time.
0 commit comments