diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2e30b48c22ea45391a1fa77043d75fd6a359ac7c..44edc64b0c3084a104d0d0b8ba4192a612802672 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,8 +14,9 @@ before_script:
 build:
   stage: build
   script:
-    - apt-get install -y --force-yes build-essential python-dev python-pip git
+    - apt-get install -y --force-yes build-essential python-dev python-pip git nodejs nodejs-legacy npm
     - pip install --editable .
+    - cd content && npm install
     - pelican content
 
   artifacts: