From ca2415a05a1918fb177b5dc0c4ee5c1d1555d971 Mon Sep 17 00:00:00 2001 From: Bart Jaskulski <bjaskulski@protonmail.com> Date: Thu, 3 Apr 2025 08:56:51 +0200 Subject: [PATCH] fix: disable linting for npm libraries The linting process is not relevant for npm libraries, as they typically do not contain PHP code. Disabling linting for these libraries reduces unnecessary processing and improves the efficiency of the CI pipeline. --- includes/tests/lint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/tests/lint.yml b/includes/tests/lint.yml index bd42460..e11d4a8 100644 --- a/includes/tests/lint.yml +++ b/includes/tests/lint.yml @@ -14,6 +14,9 @@ lint: parallel: matrix: - PHP_IMAGE: ["8.4.1", "7.4.1"] + rules: + - if: $IS_NPM_LIBRARY + when: never artifacts: paths: - lint-codequality.json -- GitLab