machine:
  node:
    version: 4.3.0
test:
  override:
    - exit 0
deployment:
  dev:
    branch: develop
    commands:
      - npm run deploy-dev
  prod:
    tag: /v[0-9]+(\.[0-9]+)*/
    commands:
      - npm run deploy-prod

machine:
  node:
    version: 8.10.0
dependencies:
  post:
  - npm run lint
test:
  override:
    - exit 0
deployment:
  dev:
    branch: develop
    commands:
      - npm run deploy-dev
  prod:
    tag: /v[0-9]+(\.[0-9]+)*/
    commands:
      - npm run deploy-prod

Update Node version in CircleCI
Update Node version in CircleCI
