Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove codecov deprecated dep and use in action #1943

Merged
merged 12 commits into from
Nov 22, 2024
13 changes: 10 additions & 3 deletions .github/workflows/mqttjs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,16 @@ jobs:
timeout-minutes: 5
env:
CI: true
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
DEBUG: "${{ runner.debug == '1' && 'mqttjs:*' || '' }}"



# upload coverage to Codecov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
directory: ./coverage/
fail_ci_if_error: false
flags: unittests
name: codecov-mqttjs
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

2 changes: 1 addition & 1 deletion nyc.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ module.exports = {
functions: 89,
lines: 86,
statements: 86,
'check-coverage': true,
'check-coverage': true
}
Loading