Skip to content

Commit

Permalink
MonospaceTW#4 add CI run test
Browse files Browse the repository at this point in the history
  • Loading branch information
horsekitlin committed Sep 5, 2018
1 parent 40793ad commit 7969fc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ pipeline:
image: node:10.9.0
group: testing
commands:
- yarn run test
- yarn install
- yarn run test --all

scp:
image: appleboy/drone-scp
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"test": "CI=true react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}

0 comments on commit 7969fc3

Please sign in to comment.