Don't manually update npm in CRA test on CircleCI (#13725)

This commit is contained in:
Nicolò Ribaudo 2021-09-02 19:24:30 +02:00 committed by GitHub
parent fce0cffc30
commit b335dcc67f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 #