diff --git a/.travis.yml b/.travis.yml index 7463110..df47182 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ notifications: node_js: - '8' -script: yarn run lint && yarn run test --no-watch --passWithNoTests && yarn run build +script: yarn run validate after_success: yarn run release branches: diff --git a/package.json b/package.json index e34227e..32c1cce 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,9 @@ "build": "./src/bin.js build", "lint": "./src/bin.js lint", "format": "./src/bin.js format", - "validate": "./src/bin.js validate", "precommit": "./src/bin.js precommit", + "validate": + "yarn run lint && yarn run test --no-watch --passWithNoTests && yarn run build", "release": "./src/bin.js release" }, "keywords": [],