Skip to content

Commit

Permalink
add another reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
lubojr committed Aug 28, 2023
1 parent f9f5417 commit 6a38748
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: npm install

- name: Run tests with coverage export
run: npm run test:coverageci
run: npm run coverage

- name: Coveralls export
uses: coverallsapp/github-action@master
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"scripts": {
"test": "mochify --transform babelify --transform [ stringify --extensions [.xml] ] test/setup.js test/*js test/formats/*js",
"test:watch": "npm run test -- -w",
"coverage": "nyc --instrument false mochify --transform [ stringify --extensions [.xml] ] --transform [ babelify --ignore [ /.*/test/.* ] --plugins [ babel-plugin-istanbul] ]",
"test:coverageci": "nyc --reporter lcovonly --instrument false mochify --transform [ stringify --extensions [.xml] ] --transform [ babelify --ignore [ /.*/test/.* ] --plugins [ babel-plugin-istanbul] ]",
"coverage": "nyc --reporter text --reporter lcovonly --instrument false mochify --transform [ stringify --extensions [.xml] ] --transform [ babelify --ignore [ /.*/test/.* ] --plugins [ babel-plugin-istanbul] ]",
"build": "babel src/ -d dist/ && browserify -d -t babelify src/index.js -o dist/opensearch-browserify.js",
"watch": "babel src/ -d dist/ -w",
"lint": "eslint src test",
Expand Down

0 comments on commit 6a38748

Please sign in to comment.