sudo: false
language: java
jdk:
  - oraclejdk8
dist: trusty
node_js:
  - 14
services:
  - mysql
cache:
  directories:
    - $HOME/.m2
install:
  - cd dashboard-gui && nvm install $(cat .node-version) && yarn && cd ..
  - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
  - mvn verify -B
  - cd dashboard-gui && yarn build
after_success:
  - bash <(curl -s https://codecov.io/bash)

sudo: false
language: java
jdk:
  - oraclejdk8
dist: trusty
node_js:
  - 14
services:
  - mysql
cache:
  directories:
    - $HOME/.m2
install:
  - cd dashboard-gui && nvm install $(cat .nvmrc) && yarn && cd ..
  - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
  - mvn verify -B
  - cd dashboard-gui && yarn build
after_success:
  - bash <(curl -s https://codecov.io/bash)

Install node version from .nvmrc
Install node version from .nvmrc
