Skip to content

Commit

Permalink
switch codecov to Windows (#8)
Browse files Browse the repository at this point in the history
* add NODE_DEBUG

as suggested in bcoe/c8#454

* try windows

* change the correct job

* use npx

* remove NODE_DEBUG
  • Loading branch information
mmomtchev authored Mar 22, 2023
1 parent 2b8274a commit fca7d9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

codecov:

runs-on: ubuntu-latest
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"start": "tsc && webpack serve --mode=development",
"prepare": "tsc && webpack --mode=production",
"doc": "documentation build src/*.ts --shallow -f md -o docs/API.md",
"c8": "node_modules/.bin/c8 mocha -i -g integration",
"lcov": "node_modules/.bin/c8 report --reporter=text-lcov > coverage/tests.lcov",
"c8": "npx c8 mocha -i -g integration",
"lcov": "npx c8 report --reporter=text-lcov > coverage/tests.lcov",
"test": "npm run lint && npm link && mocha",
"lint": "eslint src test examples scripts",
"lint:fix": "eslint --fix src test examples scripts",
Expand Down

0 comments on commit fca7d9b

Please sign in to comment.