diff --git a/includes/tests/codeception.yml b/includes/tests/codeception.yml
index b79751e67c5fce91017b2d8e3c32153fce70fa26..24916e23e9c9ed1b41adf85b62b90663fa4ff973 100644
--- a/includes/tests/codeception.yml
+++ b/includes/tests/codeception.yml
@@ -35,6 +35,9 @@
       optional: true
     - job: prepare npm assets
       optional: true
+  rules:
+    - if: $IS_LIBRARY || $IS_NPM_LIBRARY
+      when: never
   except:
     variables:
       - $DISABLE_CODECEPTION