From 114d32213f6cc7f0adf338500db036714198c0da Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 7 Sep 2022 21:36:32 +0100 Subject: [PATCH] Use PWD --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8febdda..0f47572 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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