diff --git a/test-and-deploy.yml b/test-and-deploy.yml
index 1ca988c3e8d14b63dddc826e98b391286dfb3cd6..841447e762468b66a91750c37670d77f688e54f1 100644
--- a/test-and-deploy.yml
+++ b/test-and-deploy.yml
@@ -794,7 +794,7 @@ Debug:
     - !reference [.prepareaccess, before_script]
     - !reference [.preparecomposerplugins, before_script]
   script:
-    - composer update --with-all-dependencies --no-interaction --no-progress
+    - composer update --with-all-dependencies --no-interaction --no-progress --no-dev
     - composer diagnose --no-interaction || true
     - composer audit --no-dev --locked --format=table
   rules:
@@ -831,7 +831,7 @@ Debug:
     - !reference [.prepareaccess, before_script]
     - !reference [.preparecomposerplugins, before_script]
   script:
-    - composer update --with-all-dependencies --no-interaction --no-progress
+    - composer update --with-all-dependencies --no-interaction --no-progress --no-dev
     - composer outdated --minor-only --strict --no-interaction $OUTDATED_EXTRAS
     - composer outdated --patch-only --strict --no-interaction $OUTDATED_EXTRAS
   rules: