Publish coverage file

Context [[mw:Topic:Xk10fxsoqth6scfz]]

Change-Id: Ic99cf9bdffdeb56a6182e650d3878902696c0df0
This commit is contained in:
Jon Robson 2023-06-15 08:53:39 -07:00
parent 049729626c
commit bf63e2bc6e
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
/coverage/
/docs/js/ /docs/js/
/docs/ui/ /docs/ui/
/docs/php/ /docs/php/

View file

@ -13,7 +13,7 @@
"test:lint:styles": "npm -s run linter:styles", "test:lint:styles": "npm -s run linter:styles",
"test:lint:i18n": "banana-checker --requireLowerCase=0 i18n/", "test:lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
"check-built-assets": "echo 'CHECKING BUILD SOURCES ARE COMMITTED OR STAGED' && npm -s run build && git diff --exit-code resources/dist || { npm run node-debug; false; }", "check-built-assets": "echo 'CHECKING BUILD SOURCES ARE COMMITTED OR STAGED' && npm -s run build && git diff --exit-code resources/dist || { npm run node-debug; false; }",
"coverage": "nyc npm -s run test:unit", "coverage": "nyc --reporter=lcov npm -s run test:unit",
"doc": "jsdoc -c jsdoc.json && npm run build-storybook", "doc": "jsdoc -c jsdoc.json && npm run build-storybook",
"linter:js": "eslint --cache .", "linter:js": "eslint --cache .",
"linter:styles": "stylelint 'src/**/*.less'", "linter:styles": "stylelint 'src/**/*.less'",