From 9b291bd888d90c11c675acf43d67de5d14f292e4 Mon Sep 17 00:00:00 2001 From: Hazal Karakus Date: Mon, 30 Dec 2024 12:01:38 +0100 Subject: [PATCH] -- --- .github/workflows/run_codecov_on_pull_request.yml | 2 +- react/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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