Skip to content

Commit 642b833

Browse files
authored
Upgrade Node, Yarn, and Xcode (#436)
1 parent ef54c70 commit 642b833

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.circleci/config.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ version: 2.1
22

33
aliases:
44
- &xcode-version 13.2.0
5-
- &node-version '16.13'
5+
- &node-version '16.14'
6+
- &yarn-version '1.22.18'
67

78
orbs:
89
node: circleci/[email protected]
@@ -11,11 +12,11 @@ orbs:
1112
executors:
1213
default:
1314
docker:
14-
- image: cimg/node:16.13
15+
- image: cimg/node:16.14
1516
working_directory: ~/react-native-url-polyfill
1617
node-browsers:
1718
docker:
18-
- image: cimg/node:16.13-browsers
19+
- image: cimg/node:16.14-browsers
1920
xcode-11:
2021
macos:
2122
xcode: 11.7.0
@@ -130,12 +131,16 @@ commands:
130131
- save-cache-detox-env
131132

132133
install-node:
134+
parameters:
135+
install-yarn:
136+
type: boolean
137+
default: true
133138
steps:
134139
- node/install:
135140
node-version: *node-version
136141
install-npm: false
137-
install-yarn: true
138-
yarn-version: 1.22.5
142+
install-yarn: << parameters.install-yarn >>
143+
yarn-version: *yarn-version
139144

140145
jobs:
141146
checkout:
@@ -186,12 +191,16 @@ jobs:
186191
type: executor
187192
react-native-version:
188193
type: string
194+
install-yarn:
195+
type: boolean
196+
default: true
189197
executor: << parameters.executor >>
190198
working_directory: ~/react-native-url-polyfill/platforms/react-native/<< parameters.react-native-version >>
191199
steps:
192200
- attach-workspace
193201
- restore-cache-detox-app
194-
- install-node
202+
- install-node:
203+
install-yarn: << parameters.install-yarn >>
195204
- install-yarn-dependencies
196205
- install-detox
197206
- run:
@@ -316,6 +325,7 @@ workflows:
316325
name: test-ios-0.60
317326
executor: xcode-11
318327
react-native-version: '0.60'
328+
install-yarn: false
319329
requires:
320330
- lint
321331
- test-js

0 commit comments

Comments
 (0)