language: node_js node_js: - '8.9.4' install: - npm install script: - PORT=3000 npm run start & - sleep 3s; - curl -I http://localhost:3000 | grep -q '200 OK' || exit 1 cache: directories: - node_modules