Update to Yarn 3 (#13140)

This commit is contained in:
Nicolò Ribaudo
2021-09-16 22:23:46 +02:00
committed by GitHub
parent 137fecc765
commit 2ffb19828f
17 changed files with 2126 additions and 1453 deletions

View File

@@ -26,6 +26,7 @@ if [ "$BABEL_8_BREAKING" = true ] ; then
fi
startLocalRegistry "$PWD"/scripts/integration-tests/verdaccio-config.yml
# We only bump dependencies in the top-level package.json, because workspaces
# already use the workspace: protocol so will get the version in the monorepo
# and not from npm.
@@ -36,11 +37,11 @@ if [ "$BABEL_8_BREAKING" = true ] ; then
# Jest hangs forever in the Babel 8 e2e test when using multiple workers,
# but we don't know yet why. Until we figure it out (see
# https://github.com/babel/babel/pull/13618) we can use --runInBand.
make -j build-standalone-ci
YARN_ENABLE_IMMUTABLE_INSTALLS=false make -j build-standalone-ci
BABEL_ENV=test yarn jest --ci --runInBand
make -j test-clean
else
make -j test-ci
YARN_ENABLE_IMMUTABLE_INSTALLS=false make -j test-ci
fi
cleanup