update ci-test and jest
This commit is contained in:
@@ -33,4 +33,4 @@ jobs:
|
|||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: run tests
|
- name: run tests
|
||||||
run: npm run test
|
run: npm run ci-test
|
||||||
|
|||||||
+2
-1
@@ -26,7 +26,8 @@
|
|||||||
"lint": "DEBUG=eslint:cli-engine eslint --fix .",
|
"lint": "DEBUG=eslint:cli-engine eslint --fix .",
|
||||||
"lint:check": "DEBUG=eslint:cli-engine eslint .",
|
"lint:check": "DEBUG=eslint:cli-engine eslint .",
|
||||||
"prepare": "ncc build src/index.js -o dist --source-map --license licenses.txt",
|
"prepare": "ncc build src/index.js -o dist --source-map --license licenses.txt",
|
||||||
"test": "jest"
|
"test": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
|
||||||
|
"ci-test": "jest"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user