Skip to content

Commit

Permalink
only report to coveralls on main
Browse files Browse the repository at this point in the history
  • Loading branch information
cesine committed Nov 27, 2024
1 parent 7ecedb2 commit 116a6a9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ jobs:

- name: Run tests
run: npm run coverage

- name: Run Coveralls
run: npm run coveralls


- name: Check for changed dist files
run: |
git fetch origin main --depth=1
Expand All @@ -53,4 +50,8 @@ jobs:
echo -e "\033[31mChanged files:"
echo "$DIST_CHANGED"
exit 1
fi
fi
- name: Run Coveralls
run: npm run coveralls
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

0 comments on commit 116a6a9

Please sign in to comment.