mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 07:58:45 +03:00
Change mocha reporter for CI
This commit is contained in:
parent
bb16473fac
commit
db381cad92
2
.github/run-test.yml
vendored
2
.github/run-test.yml
vendored
@ -14,4 +14,4 @@ jobs:
|
||||
- name: Run the test
|
||||
run: |
|
||||
npm install
|
||||
npm test
|
||||
npm run test-ci
|
||||
|
@ -14,3 +14,5 @@ cache:
|
||||
- node_modules
|
||||
|
||||
sudo: false
|
||||
|
||||
script: npm run test-ci
|
@ -101,6 +101,7 @@
|
||||
"scripts": {
|
||||
"build": "uglifyjs src/ua-parser.js -o dist/ua-parser.min.js --comments '/UAParser\\.js/' && uglifyjs src/ua-parser.js -o dist/ua-parser.pack.js --comments '/UAParser\\.js/' --compress --mangle",
|
||||
"test": "jshint src/ua-parser.js && mocha -R nyan test/test.js",
|
||||
"test-ci": "jshint src/ua-parser.js && mocha -R spec test/test.js",
|
||||
"verup": "node ./node_modules/verup",
|
||||
"version": "node ./node_modules/verup 0"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user