From cf1fc1135e8f55e5959ca1ddffafc14aad8576f6 Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Thu, 15 Aug 2019 17:05:04 -0700 Subject: [PATCH 1/2] Node workflow - force Jest to run in CI-mode https://create-react-app.dev/docs/running-tests#linux-macos-bash --- ci/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/node.js.yml b/ci/node.js.yml index e993f9b..28ebe44 100644 --- a/ci/node.js.yml +++ b/ci/node.js.yml @@ -21,4 +21,4 @@ jobs: run: | npm install npm run build --if-present - npm test + CI=true npm test From c420664025b59150359485a6df349135a17847a9 Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Fri, 16 Aug 2019 10:19:02 -0700 Subject: [PATCH 2/2] set this as an env on the run step --- ci/node.js.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/node.js.yml b/ci/node.js.yml index 28ebe44..8da6b92 100644 --- a/ci/node.js.yml +++ b/ci/node.js.yml @@ -21,4 +21,6 @@ jobs: run: | npm install npm run build --if-present - CI=true npm test + npm test + env: + CI: true