From f14ef1e19f45905d3655b36bc48fddcac60812f8 Mon Sep 17 00:00:00 2001 From: Dane Pilcher Date: Tue, 14 Dec 2021 19:26:21 +0000 Subject: [PATCH] ci: pin react-scripts@4.0.3 --- .github/workflows/check.yml | 2 +- scripts/integ-setup.bat | 2 +- scripts/integ-setup.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 1fcf1c00c..67bb7314e 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -47,7 +47,7 @@ jobs: working-directory: amplify-cli/packages/amplify-util-uibuilder run: npm test - name: Create a test react app - run: npx create-react-app e2e-test-app + run: npx create-react-app e2e-test-app --scripts-version 4.0.3 - name: Install test app dependencies working-directory: e2e-test-app run: | diff --git a/scripts/integ-setup.bat b/scripts/integ-setup.bat index b3fd721f6..d5bc605a9 100644 --- a/scripts/integ-setup.bat +++ b/scripts/integ-setup.bat @@ -4,7 +4,7 @@ call npm run build :: create chdir packages -call npx create-react-app integration-test --use-npm --template typescript +call npx create-react-app integration-test --use-npm --template typescript --scripts-version 4.0.3 chdir .. :: add files diff --git a/scripts/integ-setup.sh b/scripts/integ-setup.sh index c6c032dec..0a796c42a 100755 --- a/scripts/integ-setup.sh +++ b/scripts/integ-setup.sh @@ -4,7 +4,7 @@ npm run integ:clean npm run build # create -(cd packages && npx create-react-app integration-test --use-npm --template typescript) +(cd packages && npx create-react-app integration-test --use-npm --template typescript --scripts-version 4.0.3) # add files npm run integ:templates