changed the gitlab ci to handle npm test

3 jobs for master in 10 seconds (queued for 3 seconds)
Status Name Job ID Coverage
  Build
failed build #56804

00:00:10

 
  Test
skipped test #56805
 
  Deploy
skipped pages #56806
 
Name Stage Failure
failed
build Build
                 ^

TypeError: Cannot read property 'get' of undefined
at process.errorHandler (/usr/lib/node_modules/npm/lib/utils/error-handler.js:205:18)
at emitOne (events.js:116:13)
at process.emit (events.js:211:7)
at process._fatalException (bootstrap_node.js:391:26)
Cleaning up file based variables
ERROR: Job failed: exit code 7