diff --git a/.travis.yml b/.travis.yml index 71d6407..071ec68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,31 +1,30 @@ language: node_js dist: trusty sudo: required -node_js: 8 +node_js: 12 script: -- npm run test + - npm run test cache: directories: - - node_modules + - node_modules env: global: - - BX_APP=watson-assistant-intermediate - - BX_API=https://api.ng.bluemix.net - - BX_ORGANIZATION=WatsonPlatformServices - - BX_SPACE=demos + - BX_APP=watson-assistant-intermediate + - BX_API=https://api.ng.bluemix.net + - BX_ORGANIZATION=WatsonPlatformServices + - BX_SPACE=demos before_deploy: npm install -g bx-blue-green deploy: -- provider: script - skip_cleanup: true - script: - - bx-blue-green-travis - on: - branch: master - repo: watson-developer-cloud/assistant-intermediate -- provider: script - skip_cleanup: true - script: npx semantic-release - on: - node: 8 - + - provider: script + skip_cleanup: true + script: bx-blue-green-travis + on: + branch: master + repo: watson-developer-cloud/assistant-intermediate + - provider: script + skip_cleanup: true + script: npx semantic-release + on: + branch: master + repo: watson-developer-cloud/assistant-intermediate diff --git a/package.json b/package.json index b27b05f..8a1544f 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "access": "public" }, "engines": { - "node": ">=8.15.0" + "node": ">=12" }, "engineStrict": true, "devDependencies": {