machine:
  node:
    version: 8.8.1
  environment:
    DATABASE_URL: postgres://ubuntu:@127.0.0.1:5432/circle_test
    PORT: 8080

dependencies:
  override:
    - npm install
    - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
    - sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
    - sudo apt-get update
    - sudo apt-get --only-upgrade install google-chrome-stable

compile:
  override:
    - npm run lint
    - npm run build

deployment:
  production:
    branch: master
    heroku:
      appname: lukkarimaatti

machine:
  node:
    version: 8.9.3
  environment:
    DATABASE_URL: postgres://ubuntu:@127.0.0.1:5432/circle_test
    PORT: 8080

dependencies:
  override:
    - npm install
    - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
    - sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
    - sudo apt-get update
    - sudo apt-get --only-upgrade install google-chrome-stable

compile:
  override:
    - npm run lint
    - npm run build

deployment:
  production:
    branch: master
    heroku:
      appname: lukkarimaatti

Update nodejs version in CircleCI
Update nodejs version in CircleCI