Skip to content

Commit

Permalink
modify script for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Quramy committed Apr 7, 2017
1 parent 12e3bda commit f995f62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -11,8 +11,8 @@
"types": "types/index.d.ts",
"scripts": {
"lint": "tslint -p tsconfig.json --type-check src/**/*.ts",
"test": "npm run lint",
"compile": "tsc -p .",
"test": "npm run lint && ava built/**/**.test.js",
"clean": "rimraf built",
"watch": "tsc -w -p ."
},
Expand Down
8 changes: 4 additions & 4 deletions wercker.yml
Expand Up @@ -12,14 +12,14 @@ build:
HOME=$YARN_CACHE yarn
- script:
name: lint
name: compile
code: |
yarn run lint
yarn run compile
- script:
name: build
name: test
code: |
yarn run compile
yarn test
deploy:
steps:
Expand Down

0 comments on commit f995f62

Please sign in to comment.