lundi 1 février 2016

Build only when test cases are passed

{
...,
"scripts": {
    "build": "npm run test & gulp & webpack",
    "test": "karma start karma.conf.js"
  },
...
}

I want to abort build process if all test cases are not passed.

Is there any solution for this use case?

Aucun commentaire:

Enregistrer un commentaire