Enable greenkeeper-lockfile (#1531)

* Enable `greenkeeper-lockfile`

* Change colon to dash

* Fix command path

* Add SSH key
This commit is contained in:
ylemkimon
2018-08-13 12:55:19 +09:00
committed by Kevin Barabash
parent db43058bea
commit 295d933845
3 changed files with 28 additions and 0 deletions

View File

@@ -62,6 +62,21 @@ jobs:
paths:
- node_modules
- add_ssh_keys:
fingerprints:
- "e1:ac:13:98:98:8b:fd:38:81:12:28:55:75:a1:da:73"
- run:
name: Test SSH key
command: |
if [[ $CIRCLE_BRANCH == "master" ]]; then
ssh -T git@github.com
fi
- run:
name: Greenkeeper - update and commit yarn.lock
command: |
./node_modules/.bin/greenkeeper-lockfile-update
./node_modules/.bin/greenkeeper-lockfile-upload
- run:
name: Run tests
command: yarn test --coverage