mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Update Node.js and Yarn
- Node.js: use latest LTS version - Yarn: use latest version
This commit is contained in:
parent
4f3acd82fe
commit
952e009043
2 changed files with 5 additions and 15 deletions
16
circle.yml
16
circle.yml
|
|
@ -2,24 +2,14 @@
|
|||
|
||||
machine:
|
||||
node:
|
||||
version: 6.11.2
|
||||
version: 6.11.4
|
||||
environment:
|
||||
YARN_VERSION: 0.27.5
|
||||
PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
|
||||
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
|
||||
|
||||
dependencies:
|
||||
pre:
|
||||
- |
|
||||
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
|
||||
echo "Download and install Yarn."
|
||||
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
|
||||
else
|
||||
echo "The correct version of Yarn is already installed."
|
||||
fi
|
||||
override:
|
||||
- yarn install
|
||||
- yarn
|
||||
cache_directories:
|
||||
- ~/.yarn
|
||||
- ~/.cache/yarn
|
||||
|
||||
test:
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
"heroku-postbuild": "yarn run build"
|
||||
},
|
||||
"engines": {
|
||||
"node": "6.11.2",
|
||||
"yarn": "0.27.5"
|
||||
"node": "6.11.4",
|
||||
"yarn": "1.2.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue