mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-47554 Add actionlint to pre-commit config
This commit is contained in:
+7
-1
@@ -2,4 +2,10 @@
|
||||
|
||||
export NODE_OPTIONS=--max_old_space_size=8192
|
||||
|
||||
lint-staged
|
||||
lint-staged || exit 1
|
||||
|
||||
if command -v pre-commit >/dev/null 2>&1; then
|
||||
pre-commit run
|
||||
else
|
||||
echo "pre-commit not found on PATH - skipping workflow lint locally (CI enforces it). Install: https://pre-commit.com/#install"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user