diff --git a/nix/scripts/run-ci-tests.nix b/nix/scripts/run-ci-tests.nix
index 6bd9934be090e5825641db9bf742f6299d662b3b..f5cf83f4a7b02f2dfb2e7859c97739558e757a74 100644
--- a/nix/scripts/run-ci-tests.nix
+++ b/nix/scripts/run-ci-tests.nix
@@ -16,12 +16,20 @@
     cd ''${CI_PROJECT_DIR} || exit 1
     
     
-    ${pkgs.eza}/bin/eza -T
+    ${pkgs.eza}/bin/eza -T -L2
 
     echo "This script will run tests in the project working directory: ''${CI_PROJECT_DIR}"
     echo "The command is executed in the current working directory and not in a nix derivation."
 
     TEST_CASES_PATH="''${CI_PROJECT_DIR}/test/cases/"
+    
+    if ! ${pkgs.corepack}/bin/pnpm install
+    then
+       echo "Failed to install dependencies"
+       exit 1
+    fi
+
+    ${pkgs.eza}/bin/eza -T -L2
 
     if ! ${pkgs.nodePackages.mocha}/bin/mocha --colors --jobs 1 --bail --recursive ''${TEST_CASES_PATH}
     then