diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8041a7df68bfd2fd0f433e903c1d7573af44984c..026766514bdeb7eb5f552a52bcd111c8f88909f1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,6 +25,7 @@ stages:          # List of stages for jobs, and their order of execution
 lint:commit:
   stage: lint
   script:
+    - npm install -g npx
     - echo "${CI_COMMIT_MESSAGE}" | npx commitlint
 
 build-job:       # This job runs in the build stage, which runs first.