Skip to content

Commit

Permalink
uplift node to v12 (#4191)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucie <lucie.daeye@gmail.com>
  • Loading branch information
Pomax and patjouk committed Feb 12, 2020
1 parent bdd752c commit e7d6907
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -60,16 +60,16 @@ jobs:
- coveralls
- name: npm tests
before_install:
- nvm install --lts=carbon
- nvm use --lts=carbon
- nvm install --lts=erbium
- nvm use --lts=erbium
install: "./travis-scripts/npm-install.sh"
script: npm test
- name: Percy tests
before_install:
# libgconf is required by cypress
- sudo apt-get install -y libgconf-2-4
- nvm install --lts=carbon
- nvm use --lts=carbon
- nvm install --lts=erbium
- nvm use --lts=erbium
install:
- "./travis-scripts/python-install.sh"
- "./travis-scripts/npm-install.sh"
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.node
@@ -1,4 +1,4 @@
FROM node:8-stretch-slim
FROM node:12-stretch-slim

WORKDIR /app/

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -69,7 +69,7 @@
"whatwg-fetch": "^3.0.0"
},
"engines": {
"node": "^8.9.0"
"node": "12.x"
},
"devDependencies": {
"browserslist": "^4.8.6",
Expand Down
1 change: 0 additions & 1 deletion travis-scripts/npm-install.sh
Expand Up @@ -2,5 +2,4 @@

set -x # echo commands before running them

npm install -g npm@latest # Needed to use npm ci
npm ci # Use package-lock.json

0 comments on commit e7d6907

Please sign in to comment.