diff --git a/.circleci/config.yml b/.circleci/config.yml index 70cb95c97e6c..5bcebf7b8215 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -370,14 +370,18 @@ jobs: steps: - brew_install: package: watchman - - brew_install: - package: node@12 - run: name: "Brew: Tap wix/brew" command: HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew >/dev/null - brew_install: package: applesimutils + - run: + name: Configure Node + # Sourcing find-node.sh will ensure nvm is set up. + # It also helps future invocation of find-node.sh prevent permission issue with nvm.sh. + command: source scripts/find-node.sh && nvm install 12 && nvm alias default 12 + - run: name: Configure Watchman command: echo "{}" > .watchmanconfig