Skip to content

Commit

Permalink
download and install specific yarn version
Browse files Browse the repository at this point in the history
pin yarn version
  • Loading branch information
robi committed Apr 12, 2019
1 parent b2c9abd commit 38234e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cache:
directories:
- "node_modules"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.15.2
- export PATH="$HOME/.yarn/bin:$PATH"
- export BRANCH="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
- yarn global add greenkeeper-lockfile@1
install:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"engines": {
"node": "10.15.3",
"yarn": "^1.15.2"
"yarn": "1.15.2"
},
"bin": {
"augmint-contracts": "./scripts/augmint-contracts.sh"
Expand Down Expand Up @@ -58,4 +58,4 @@
"bignumber.js"
]
}
}
}

0 comments on commit 38234e4

Please sign in to comment.