Skip to content

Commit 44a9b0d

Browse files
authored
CI build fix (#41)
1 parent d26eb53 commit 44a9b0d

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

.circleci/config.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,24 @@ jobs:
1414
command: |
1515
docker run --rm --name rn-env react-native-community/react-native bin/sh -c "npx envinfo"
1616
test:
17-
- run:
18-
name: Test
19-
command: |
20-
git clone https://github.com/facebook/react-native --depth=1
21-
cd react-native
22-
docker run --rm --name rn-build -v $PWD:/pwd -w /pwd react-native-community/react-native /bin/sh -c \
23-
"yarn install && ./gradlew RNTester:android:app:assembleRelease && ./scripts/circleci/buck_fetch.sh"
17+
machine: true
18+
steps:
19+
- run:
20+
name: Test
21+
command: |
22+
git clone https://github.com/facebook/react-native --depth=1
23+
cd react-native
24+
docker run --rm --name rn-build -v $PWD:/pwd -w /pwd react-native-community/react-native /bin/sh -c \
25+
"yarn install && ./gradlew RNTester:android:app:assembleRelease && ./scripts/circleci/buck_fetch.sh"
2426
deploy:
25-
- run:
26-
name: Deploy docker
27-
command: |
28-
source ~/.bashrc
29-
nvm i node
30-
node publish_docker.js
27+
machine: true
28+
steps:
29+
- run:
30+
name: Deploy docker
31+
command: |
32+
source ~/.bashrc
33+
nvm i node
34+
node publish_docker.js
3135
3236
workflows:
3337
version: 2

0 commit comments

Comments
 (0)