Skip to content

Commit 5f7626a

Browse files
authored
Bump versions on CircleCI (#371)
- Bump Node to the latest LTS (16) - Bump Xcode from 12.4 to 12.5.1 - Bump Android API from 29 to 30 (React Native 0.65 and 0.66 are requiring the API 30)
1 parent a73ba47 commit 5f7626a

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.circleci/config.yml

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

33
aliases:
4+
- &xcode-version 12.5.1
45
- &save-cache-yarn
56
save_cache:
67
key: yarn-packages-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }}
@@ -13,15 +14,15 @@ aliases:
1314
- yarn-packages-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }}
1415
- &save-cache-detox-env
1516
save_cache:
16-
key: detox-env-{{ .Environment.CACHE_VERSION }}-{{ arch }}-{{ .Environment.CIRCLE_WORKING_DIRECTORY }}
17+
key: detox-env-{{ .Environment.CACHE_VERSION }}-{{ arch }}-{{ .Environment.XCODE_VERSION }}-{{ .Environment.CIRCLE_WORKING_DIRECTORY }}
1718
paths:
1819
- /usr/local/Homebrew
1920
- ~/Library/Caches/Homebrew
2021
- &restore-cache-detox-env
2122
restore_cache:
2223
name: Restoring Detox Env Cache
2324
keys:
24-
- detox-env-{{ .Environment.CACHE_VERSION }}-{{ arch }}-{{ .Environment.CIRCLE_WORKING_DIRECTORY }}
25+
- detox-env-{{ .Environment.CACHE_VERSION }}-{{ arch }}-{{ .Environment.XCODE_VERSION }}-{{ .Environment.CIRCLE_WORKING_DIRECTORY }}
2526
- &save-cache-detox-app
2627
save_cache:
2728
key: detox-app-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock"}}
@@ -53,21 +54,23 @@ aliases:
5354
executors:
5455
default:
5556
docker:
56-
- image: circleci/node:14
57+
- image: circleci/node:16
5758
working_directory: ~/react-native-url-polyfill
5859
xcode-11:
5960
macos:
6061
xcode: 11.7.0
6162
environment:
6263
HOMEBREW_NO_AUTO_UPDATE: 1
63-
xcode-12:
64+
XCODE_VERSION: 11.7.0
65+
xcode:
6466
macos:
65-
xcode: 12.4.0
67+
xcode: *xcode-version
6668
environment:
6769
HOMEBREW_NO_AUTO_UPDATE: 1
70+
XCODE_VERSION: *xcode-version
6871
android:
6972
docker:
70-
- image: circleci/android:api-29-node
73+
- image: circleci/android:api-30-node
7174
environment:
7275
JAVA_TOOL_OPTIONS: '-Xmx1536m'
7376
GRADLE_OPTS: '-Dorg.gradle.daemon=false -Dorg.gradle.workers.max=2'
@@ -148,7 +151,7 @@ jobs:
148151
test-ios:
149152
parameters:
150153
executor:
151-
default: xcode-12
154+
default: xcode
152155
type: executor
153156
react-native-version:
154157
type: string
@@ -189,7 +192,7 @@ jobs:
189192
test-hermes-ios:
190193
parameters:
191194
executor:
192-
default: xcode-12
195+
default: xcode
193196
type: executor
194197
react-native-version:
195198
type: string

0 commit comments

Comments
 (0)