Skip to content

Commit

Permalink
codecov revert
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Jul 29, 2024
1 parent ae84671 commit 1cdf5a2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@ jobs:
run: npm ci

- name: Build
run: npm run build
run: npm run build > build.log 2>&1

- name: Check for build warnings
run: |
if grep -q -i "error" build.log || grep -q -i "warning" build.log; then
echo "Build contains following errors or warnings..."
cat build.log
exit 0;
else
exit 0;
fi
- name: Generate code coverage
run: npm run coverage
Expand Down

0 comments on commit 1cdf5a2

Please sign in to comment.