From 9416f45dd9178039f8ce0e5a7d7328922d2d7695 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 24 Oct 2021 17:25:41 +0200 Subject: GitHub Actions CI optimisation (#3929) Efforts to reduce the resources used by CI: * Only one git checkout * Exclusion of irrelevant directories for several commands * Fix some rtlcss warnings * Move some commands from tests.yml to composer.json to make them reusasble * Initial efforts to take avantage of all that from `make` (help welcome) --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 8a25eb278..35884d900 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "eslint_fix": "eslint --fix --ext .js .", "markdownlint": "markdownlint '**/*.md'", "markdownlint_fix": "markdownlint --fix '**/*.md'", - "rtlcss": "rtlcss -d p/themes && find . -type f -name '*.rtl.rtl.css' -delete", + "rtlcss": "rtlcss -d p/themes/ && find p/themes/ -type f -name '*.rtl.rtl.css' -delete", "stylelint": "stylelint '**/*.css' && stylelint --syntax scss '**/*.scss'", "stylelint_fix": "stylelint --fix '**/*.css' && stylelint --fix --syntax scss '**/*.scss'", "test": "npm run eslint && npm run stylelint && npm run markdownlint", @@ -41,5 +41,6 @@ "stylelint-config-recommended-scss": "^4.3.0", "stylelint-order": "^4.1.0", "stylelint-scss": "^3.21.0" - } + }, + "rtlcssConfig": {} } -- cgit v1.2.3