From 665405d6dcb63acf55edd01fe8c2e8b42c37c638 Mon Sep 17 00:00:00 2001 From: Lucas Holmquist Date: Fri, 27 Apr 2018 15:33:19 -0400 Subject: [PATCH] feat: start using node.js 10. (#102) fixes #101 --- .openshiftio/application.yaml | 2 +- .travis.yml | 1 + package.json | 2 +- test/integration/greeting-integration-test.js | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.openshiftio/application.yaml b/.openshiftio/application.yaml index 83e9536..1b11f15 100644 --- a/.openshiftio/application.yaml +++ b/.openshiftio/application.yaml @@ -41,7 +41,7 @@ objects: - name: latest from: kind: DockerImage - name: 'bucharestgold/centos7-s2i-nodejs:8.x' + name: 'bucharestgold/centos7-s2i-nodejs:10.x' - apiVersion: v1 kind: BuildConfig metadata: diff --git a/.travis.yml b/.travis.yml index 1ef6db2..83b7660 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ dist: trusty language: node_js node_js: - "8" + - "10" before_install: - npm install -g npm@5 diff --git a/package.json b/package.json index ac62293..8c7ed13 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "ci": "npm run lint && npm run coveralls", "dependencyCheck": "szero . --ci", "release": "standard-version -a", - "openshift": "nodeshift --strictSSL=false --nodeVersion=8.x", + "openshift": "nodeshift --strictSSL=false --nodeVersion=10.x", "postinstall": "license-reporter report -s && license-reporter save -s --xml licenses.xml", "start": "node ." }, diff --git a/test/integration/greeting-integration-test.js b/test/integration/greeting-integration-test.js index a44e054..a9270f6 100644 --- a/test/integration/greeting-integration-test.js +++ b/test/integration/greeting-integration-test.js @@ -6,7 +6,7 @@ const rhoaster = require('rhoaster'); const testEnvironment = rhoaster({ deploymentName: 'nodejs-rest-http', - nodeVersion: '8.x' + nodeVersion: '10.x' }); testEnvironment.deploy()