diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6d7afe29..18eecb0d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,3 +21,18 @@ other_files: script: - find . -type f -not -path "*.git*" ! -name "*.eb" ! -name "*.patch*" ! -name ".git*" ! -name "LICENSE" ! -name "*.md" ! -name "*.sh" - find . -type f -not -path "*.git*" ! -name "*.eb" ! -name "*.patch*" ! -name ".git*" ! -name "LICENSE" ! -name "*.md" ! -name "*.sh" -exec false {} + + +spell_check: +tage: test + image: davidhrbac/docker-npmcheck:latest + script: + - npm i markdown-spellcheck -g + - mdspell '*.md' -rns --en-us + +shellcheck: + stage: test + image: davidhrbac/docker-shellcheck:latest + script: + - which shellcheck || apt-get update && apt-get install -y shellcheck + - find . -name *.sh -not -path "*.git*" -exec shellcheck {} + +