Skip to content

Commit

Permalink
chore: remove codecov deprecated dep and use in action (#1943)
Browse files Browse the repository at this point in the history
* chore: remove codecov deprecated dep and use in action

* fix: workflow

* fix: upload codecov only on nodejs 20

* fix: remove useless env vars

* fix: use codecov v5

* fix: try tokenless

* fix: disable codecov step

* chore: enable back codecov

* chore: trigger again

* chore: trigger again
  • Loading branch information
robertsLando authored Nov 22, 2024
1 parent 938d41e commit 1eed1b6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 306 deletions.
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

0 comments on commit 1eed1b6

Please sign in to comment.