Skip to content

Commit 7bb2ebd

Browse files
authored
chore: ci updates (#691)
1 parent a64219f commit 7bb2ebd

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.circleci/config.yml

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

33
orbs:
4-
rn: react-native-community/react-native@5.6.2
5-
android: circleci/android@1.0.3
4+
rn: react-native-community/react-native@7
5+
android: circleci/android@2
66

77
# - rn/yarn_install
88
# fails with Error untarring cache: Error extracting tarball /var/folders/bq/mjrgbpkx5h1g_b22fpv0tlzc0000gn/T/cache376822577 : tmp/yarn/: Cannot extract through symlink tmp/yarn tmp/yarn/v6/: Cannot extract through symlink tmp/yarn/v6 tmp/yarn/v6/.tmp/: Cannot extract through symlink tmp/yarn/v6/.tmp tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel/code-frame/: Cannot extract: exit status 1
@@ -12,7 +12,7 @@ jobs:
1212
analyse_js:
1313
executor:
1414
name: rn/linux_js
15-
node_version: '16'
15+
node_version: 'lts'
1616
steps:
1717
- checkout
1818
# - rn/yarn_install
@@ -65,18 +65,16 @@ jobs:
6565
executor:
6666
name: android/android-machine
6767
resource-class: large
68+
tag: '2022.01.1'
6869
steps:
6970
- checkout
7071
- run:
71-
name: change default node version
72-
command: |
73-
nvm install v16.17.0
74-
nvm alias default v16.17.0
75-
echo 'export PATH=/opt/circleci/.nvm/versions/node/v16.17.0/bin:$PATH' >> $BASH_ENV
72+
command: avdmanager list
73+
name: list avds
7674
- android/create-avd:
7775
avd-name: TestingAVD
7876
system-image: system-images;android-29;default;x86
79-
additional-args: --device "pixel_4_xl"
77+
additional-args: --device pixel_4_xl
8078
install: true
8179
- android/start-emulator:
8280
avd-name: TestingAVD
@@ -105,7 +103,7 @@ jobs:
105103
publish:
106104
executor:
107105
name: rn/linux_js
108-
node_version: '16'
106+
node_version: 'lts'
109107
steps:
110108
- checkout
111109
# - rn/yarn_install

0 commit comments

Comments
 (0)