This will run npm test on every pushed commit on GitLab CI, ensuring that failing tests are detected early.
npm test