File tree Expand file tree Collapse file tree 3 files changed +39
-37
lines changed Expand file tree Collapse file tree 3 files changed +39
-37
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ dist : trusty
2+ sudo : false
3+ language : node_js
4+ node_js :
5+ - 9
6+
7+ cache :
8+ directories :
9+ - " node_modules"
10+
11+ git :
12+ depth : false
13+
14+ after_success :
15+ - bash ci/commit-lockfile.sh
16+
17+ notifications :
18+ email : false
19+ slack :
20+ on_success : change
21+ rooms :
22+ - heyprof:OnsMQaj2FtGkJ972FzpPw60T#pipelines-front
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [[ $TRAVIS_PULL_REQUEST_BRANCH != * " greenkeeper" * ]]; then
4+ # Not a GreenKeeper Pull Request, aborting
5+ exit 0
6+ fi
7+
8+ if ! git diff-index --quiet HEAD --; then
9+ echo " Commit and push lockfile"
10+ git config --global user.email " $GITHUB_EMAIL "
11+ git config --global user.name " Travis CI"
12+ git config --global push.default simple
13+
14+ git add package-lock.json
15+ git commit -m " chore(*): update lockfile"
16+ git push
17+ fi
You can’t perform that action at this time.
0 commit comments