Skip to content

Commit

Permalink
ci: fix coveralls workflow step
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud committed Jul 2, 2024
1 parent f6fe271 commit 44e9d2e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,13 @@ jobs:
workspace=$(jq -r '.name' packages/${{ matrix.dir }}/package.json)
yarn workspace "$workspace" run test:coverage
coveralls:
runs-on: ubuntu-latest
if: needs.changed-files.outputs.any_changed == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: [changed-files, tests]
steps:
- name: Coveralls
- if: contains(needs.changed-files.outputs.modified_files, matrix.dir) && github.event_name == 'push' && github.ref == 'refs/heads/main'
name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
flag-name: run ${{ join(matrix.*, '-') }}

set-matrix:
if: needs.changed-files.outputs.any_changed == 'true'
Expand Down

0 comments on commit 44e9d2e

Please sign in to comment.