Skip to content

Commit

Permalink
ci: configure codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac authored Feb 1, 2024
1 parent e03dfc6 commit 7c5ab45
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,16 @@ jobs:
COVERAGE: 1
run: npm run all
- name: Upload coverage
uses: codecov/codecov-action@v4
if: ${{ matrix.integration-deps == '' }}
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Update example
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
env:
GIT_USER_NAME: ${{secrets.BPMN_IO_USER_NAME}}
GIT_USER_EMAIL: ${{secrets.BPMN_IO_EMAIL}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: tasks/update-example
run: tasks/update-example

0 comments on commit 7c5ab45

Please sign in to comment.