From b335dcc67fa1233ff3a76cd0e8a06922e14c8587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Thu, 2 Sep 2021 19:24:30 +0200 Subject: [PATCH] Don't manually update npm in CRA test on CircleCI (#13725) --- scripts/integration-tests/e2e-create-react-app.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/integration-tests/e2e-create-react-app.sh b/scripts/integration-tests/e2e-create-react-app.sh index 86fcfddc73..e0092aac84 100755 --- a/scripts/integration-tests/e2e-create-react-app.sh +++ b/scripts/integration-tests/e2e-create-react-app.sh @@ -17,8 +17,10 @@ set -x git clone --depth=1 https://github.com/facebook/create-react-app.git tmp/create-react-app cd tmp/create-react-app || exit -# Update npm to v7 -npm i -g npm@7 +# CircleCI already has npm 7 +if [ "$BABEL_8_BREAKING" != true ] ; then + npm i -g npm@7 +fi #==============================================================================# # TEST #