diff --git a/.circleci/config.yml b/.circleci/config.yml index 10e3dd3..dca0cef 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,8 +41,7 @@ jobs: - run: name: Netlify - Child App command: | - yarn netlify:child-app - + if [ "$TESTVAR" = "master" ]; then yarn netlify:child-app; fi workflows: version: 2 diff --git a/packages/child-app/package.json b/packages/child-app/package.json index bcc42ea..85c5660 100644 --- a/packages/child-app/package.json +++ b/packages/child-app/package.json @@ -19,7 +19,7 @@ }, "scripts": { "start": "PORT=3002 react-scripts start", - "build": "react-scripts build", + "build": "CI=false react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, diff --git a/packages/demo/package.json b/packages/demo/package.json index b8e93d5..7dc62a5 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -18,7 +18,7 @@ }, "scripts": { "start": "PORT=3001 react-scripts start", - "build": "react-scripts build", + "build": "CI=false react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" },