diff --git a/.github/workflows/run_codecov_on_pull_request.yml b/.github/workflows/run_codecov_on_pull_request.yml index b7f90fa3..719576d7 100644 --- a/.github/workflows/run_codecov_on_pull_request.yml +++ b/.github/workflows/run_codecov_on_pull_request.yml @@ -20,7 +20,7 @@ jobs: - name: Run React tests run: | npm install - ./build2.sh + ./build.sh npm test -- --coverage --reporters=jest-junit working-directory: ./empower/react - uses: codecov/codecov-action@v3 diff --git a/react/build.sh b/react/build.sh index 5e5fd3ae..b3fa2450 100755 --- a/react/build.sh +++ b/react/build.sh @@ -10,5 +10,5 @@ rm -rf build # npm ci does not update minor versions -> # (1) less chance of breaking (2) less noise in PR from package-lock.json npm ci -npm run build # defined in 'scripts' in package.json +CI=false npm run build # defined in 'scripts' in package.json