changed the gitlab ci to handle npm test

3 jobs for master in 16 seconds (queued for 4 seconds)
Name Stage Failure
build Build

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

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