aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-10-24 17:25:41 +0200
committerGravatar GitHub <noreply@github.com> 2021-10-24 17:25:41 +0200
commit9416f45dd9178039f8ce0e5a7d7328922d2d7695 (patch)
treeb96e637953fab571ed55d7ea275a14fcf1855c88 /package.json
parent07e00c7681e5fd9e680cba75125b166b96a96198 (diff)
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)
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 3 insertions, 2 deletions
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": {}
}