From 6fe5cfbaa3735c34ebe5290e627f73f994534100 Mon Sep 17 00:00:00 2001 From: liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com> Date: Fri, 22 Jul 2022 22:54:05 +0800 Subject: [PATCH] test --- scripts/integration-tests/e2e-prettier.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/integration-tests/e2e-prettier.sh b/scripts/integration-tests/e2e-prettier.sh index d98031b163a5..d0a17233fd06 100755 --- a/scripts/integration-tests/e2e-prettier.sh +++ b/scripts/integration-tests/e2e-prettier.sh @@ -15,7 +15,7 @@ source utils/cleanup.sh set -x # Clone prettier -git clone --depth=1 https://github.com/prettier/prettier tmp/prettier +git clone --depth=1 --single-branch --branch next https://github.com/prettier/prettier tmp/prettier cd tmp/prettier || exit # Update @babel/* dependencies @@ -38,8 +38,7 @@ export YARN_IGNORE_PATH=1 startLocalRegistry "$root"/verdaccio-config.yml yarn install -# Only run js,jsx,misc format tests # Without --runInBand CircleCI hangs. -yarn test "tests/format/(jsx?|misc|typescript|flow|flow-repo)/" --update-snapshot +yarn test "tests/format/(jsx?|misc|typescript|flow|flow-repo)/" --update-snapshot --runInBand cleanup