OSS Circle CI: upgrade iOS image Node installation to v14 (#32316)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/32316

Other tests/images are already using Node 14, let's upgrade.

Changelog: [Internal]

Reviewed By: hramos

Differential Revision: D31351912

fbshipit-source-id: a42addbf7aa7c2dcbf497519b7af18d0cdb31e65
This commit is contained in:
Kevin Gozali
2021-10-01 15:33:03 -07:00
committed by Facebook GitHub Bot
parent 8b5906d209
commit fabd253ef1
+2 -2
View File
@@ -363,7 +363,7 @@ jobs:
- run:
name: Configure Environment Variables
command: |
echo 'export PATH=/usr/local/opt/node@12/bin:$PATH' >> $BASH_ENV
echo 'export PATH=/usr/local/opt/node@14/bin:$PATH' >> $BASH_ENV
source $BASH_ENV
- with_brew_cache_span:
@@ -380,7 +380,7 @@ jobs:
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
command: source scripts/find-node.sh && nvm install 14 && nvm alias default 14
- run:
name: Configure Watchman