Skip to content

Commit

Permalink
Use PWD
Browse files Browse the repository at this point in the history
  • Loading branch information
cortinico committed Sep 7, 2022
1 parent 71f3de7 commit 114d322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
- run: *build-docker
- run:
name: Check if Emulator (Headless) starts
command: docker run --rm -v "${CIRCLE_WORKING_DIRECTORY}/scripts/":/scripts react-native-community/react-native /bin/sh -c "/scripts/test-emulator-headless.sh"
command: docker run --rm -v "$(PWD)/scripts/":/scripts react-native-community/react-native /bin/sh -c "/scripts/test-emulator-headless.sh"
- run:
name: Checkout React Native
command: git clone https://github.com/facebook/react-native.git
- run:
name: Build React Native
command: docker run --rm --ulimit nofile=10240 -v "${CIRCLE_WORKING_DIRECTORY}/scripts/":/scripts -v "${CIRCLE_WORKING_DIRECTORY}/react-native/":/react-native -w /react-native react-native-community/react-native /bin/sh -c "/scripts/test-react-native-setup.sh"
command: docker run --rm --ulimit nofile=10240 -v "$(PWD)/scripts/":/scripts -v "$(PWD)/react-native/":/react-native -w /react-native react-native-community/react-native /bin/sh -c "/scripts/test-react-native-setup.sh"

workflows:
version: 2
Expand Down

0 comments on commit 114d322

Please sign in to comment.