Move testing lint to travis ci

This commit is contained in:
CJ Patoilo 2020-05-17 19:43:10 -03:00
parent 70c1d99c48
commit ef05a74629
2 changed files with 3 additions and 1 deletions

View File

@ -6,3 +6,5 @@ before_install:
cache: cache:
directories: directories:
- node_modules - node_modules
before_script:
- npm run lint

View File

@ -81,7 +81,7 @@
"visual-regression:compare": "backstop test --config backstop.config.js", "visual-regression:compare": "backstop test --config backstop.config.js",
"lint": "prettier-standard --check && sass-lint --verbose --no-exit", "lint": "prettier-standard --check && sass-lint --verbose --no-exit",
"prepublish": "run-s build", "prepublish": "run-s build",
"test": "run-s build lint && nyc ava" "test": "npm run build && nyc ava"
}, },
"husky": { "husky": {
"hooks": { "hooks": {