changed the gitlab ci to handle npm test

3 jobs for master in 15 seconds (queued for 2 seconds)
Name Stage Failure
failed
build Build

+ mocha@9.0.1
added 92 packages from 48 contributors and audited 93 packages in 5.155s
found 0 vulnerabilities

$ mocha --exit
/bin/sh: eval: line 115: mocha: not found
Cleaning up file based variables
ERROR: Job failed: exit code 127