From 1ff89cb6a44c0c5cd3e9d4683b63c8746fbedd93 Mon Sep 17 00:00:00 2001 From: Ulises Gascon Date: Wed, 7 Aug 2019 08:36:14 +0200 Subject: [PATCH 1/2] Migration to Node8 and added support for v10 and v12 --- .travis.yml | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cc349fe2d..b22bcc878 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ language: node_js services: - docker node_js: + - v8 + - v10 - v12 ## Cache NPM folder and Cypress binary diff --git a/README.md b/README.md index b2c8e2801..1656032b0 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ This Heroku instance uses Free ($0/month) node server and MongoLab add-on. ### OPTION 2 - Run NodeGoat on your machine If you do not wish to run NodeGoat on Heroku, please follow these steps to setup and run it locally - -* Install [Node.js](http://nodejs.org/) - NodeGoat requires Node v4.4 or above +* Install [Node.js](http://nodejs.org/) - NodeGoat requires Node v8 or above * Clone the github repository ``` From ae31b3e7126f2a215a33d75bbdf296bba11d6750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulises=20Gasc=C3=B3n?= Date: Thu, 8 Aug 2019 08:47:58 +0200 Subject: [PATCH 2/2] Node version upgraded --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 042077d34..92d19a5c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:4.4 +FROM node:12.7.0 ENV WORKDIR /usr/src/app/ WORKDIR $WORKDIR COPY package*.json $WORKDIR