mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
🔥 Update yarn.lock on greenkeeper PR's
no issue - we have disabled greenkeeper for now - we would like to bump dependencies with yarn upgrade-interactive --exact - this removes the logic to add an extra commit to GK pull requests via travis
This commit is contained in:
parent
2b27cf69dc
commit
cfb9d35d4d
1 changed files with 0 additions and 13 deletions
13
.travis.yml
13
.travis.yml
|
@ -44,19 +44,6 @@ install:
|
|||
- if [ "$DB" == "sqlite3" ]; then yarn add --force sqlite3; fi # fix sqlite caching issues
|
||||
|
||||
after_success:
|
||||
- |
|
||||
if [ "$DB" != "sqlite3" ] || [ "$TRAVIS_NODE_VERSION" != "4" ] || [[ "$TRAVIS_PULL_REQUEST_BRANCH" != *"greenkeeper"* ]]; then
|
||||
exit 0
|
||||
fi
|
||||
git clone -b "$TRAVIS_PULL_REQUEST_BRANCH" "https://"$PUSH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG".git" repo && cd repo
|
||||
git log --name-status HEAD^..HEAD | grep "update" || exit 0
|
||||
yarn
|
||||
git config --global user.email "github@ghost.org"
|
||||
git config --global user.name "TryGhost-Travis"
|
||||
git config --global push.default simple
|
||||
git add yarn.lock
|
||||
git commit -m "chore: yarn.lock"
|
||||
git push
|
||||
- |
|
||||
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
|
||||
if [[ "$DB" = "sqlite3" && "$TRAVIS_NODE_VERSION" = "4" ]]; then
|
||||
|
|
Loading…
Reference in a new issue