Skip to content

Commit

Permalink
--
Browse files Browse the repository at this point in the history
  • Loading branch information
hazal-karakus committed Dec 30, 2024
1 parent ef02cba commit 0ab6cb7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_codecov_on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Run React tests
run: |
npm install
./build.sh
./build2.sh
npm test -- --coverage --reporters=jest-junit
working-directory: ./empower/react
- uses: codecov/codecov-action@v3
Expand Down
11 changes: 11 additions & 0 deletions react/build2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

# Usage: ./build.sh

set -e # exit immediately if any command exits with a non-zero status

envsubst < config-overrides.js.template > config-overrides.js

rm -rf build
npm run build # defined in 'scripts' in package.json

0 comments on commit 0ab6cb7

Please sign in to comment.