update ci-test and jest

This commit is contained in:
grantbirki
2023-04-13 23:10:02 +01:00
parent f5eb43ca84
commit f28358b33b
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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",