Skip to content
Permalink
Browse files

Upgrade CI node to 12

  • Loading branch information
abraham committed Nov 14, 2019
1 parent c77f8eb commit 70ac76f7938bf2043cc913a8f3d05a8681cbd2fc
@@ -1,7 +1,7 @@
environment:
matrix:
- nodejs_version: 10
- nodejs_version: 8
- nodejs_version: "10"
- nodejs_version: "12"

install:
- ps: Install-Product node $env:nodejs_version
@@ -3,18 +3,18 @@ version: 2
nvm: &nvm
name: Setup NVM
command: |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash -s -- --no-use
curl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash -s -- --no-use
echo 'export NVM_DIR=$HOME/.nvm' >> $BASH_ENV
echo 'source $NVM_DIR/nvm.sh' >> $BASH_ENV
echo 'nvm install $NODE_VERSION' >> $BASH_ENV
echo 'nvm alias default $NODE_VERSION' >> $BASH_ENV
jobs:
node8:
node10:
macos:
xcode: "11.2.0"
environment:
NODE_VERSION: "8"
NODE_VERSION: "10"
steps:
- checkout
- run: *nvm
@@ -30,11 +30,11 @@ jobs:
- ./node_modules
- run: npm install --global packages/cli
- run: npm test
node10:
node12:
macos:
xcode: "11.2.0"
environment:
NODE_VERSION: "10"
NODE_VERSION: "12"
steps:
- checkout
- run: *nvm
@@ -55,5 +55,5 @@ workflows:
version: 2
build:
jobs:
- node8
- node10
- node12
@@ -3,7 +3,7 @@ sudo: true
language: node_js
node_js:
- 10
- 8
- 12
before_script:
- node --version
- npm --version
@@ -11,5 +11,8 @@
"devDependencies": {
"lerna": "3.18.4",
"rimraf": "3.0.0"
},
"engines": {
"node": "12"
}
}
@@ -49,7 +49,7 @@
"watch": "tsc --watch"
},
"engines": {
"node": ">=8"
"node": "12"
},
"dependencies": {
"@nutmeg/seed": "^0.16.1",
@@ -1,12 +1,24 @@
version: 2

nvm: &nvm
name: Setup NVM
command: |
curl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash -s -- --no-use
echo 'export NVM_DIR=$HOME/.nvm' >> $BASH_ENV
echo 'source $NVM_DIR/nvm.sh' >> $BASH_ENV
echo 'nvm install $NODE_VERSION' >> $BASH_ENV
echo 'nvm alias default $NODE_VERSION' >> $BASH_ENV
jobs:
build:
macos:
xcode: "9.1.0"
xcode: "11.2.0"
environment:
NODE_VERSION: "10"
steps:
- checkout
- run: brew upgrade npm
- run: brew install caskroom/cask/firefox caskroom/cask/google-chrome
- run: *nvm
- run: brew cask install firefox google-chrome
- run: node --version
- run: npm --version
- restore_cache:
@@ -1,5 +1,5 @@
environment:
nodejs_version: "9"
nodejs_version: "12"

install:
- ps: Install-Product node $env:nodejs_version
@@ -10,7 +10,7 @@
"test": "test"
},
"engines": {
"node": ">=8.0.0"
"node": "12"
},
"keywords": [
"<%= tag %>",
@@ -4,7 +4,7 @@
"description": "Create a Nutmeg Web Component",
"bin": "bin/create-nutmeg",
"engines": {
"node": ">=8.0.0"
"node": "12"
},
"repository": {
"type": "git",
@@ -10,7 +10,7 @@
"test": "test"
},
"engines": {
"node": ">=8.0.0"
"node": "12"
},
"repository": {
"type": "git",

0 comments on commit 70ac76f

Please sign in to comment.
You can’t perform that action at this time.