Skip to content
Snippets Groups Projects
Commit 2a2fb42e authored by Stefan Hynek's avatar Stefan Hynek :drooling_face:
Browse files

ci: markdownlint exits with code 1 on linting error->fail

parent e96c4d50
No related branches found
No related tags found
1 merge request!22Resolve "move to gitlab and Automize pdfenize markdown document"
Pipeline #135966 passed with warnings
...@@ -12,15 +12,14 @@ tests: ...@@ -12,15 +12,14 @@ tests:
image: node:10 image: node:10
before_script: before_script:
- npm install - npm install
- npx -v
script: script:
- npx markdownlint -o markdownlint-report.txt rdd-technical-reference.md - npx markdownlint -o markdownlint-report.txt rdd-technical-reference.md
after_script: allow_failure: true
- ls -al
artifacts: artifacts:
expose_as: 'markdownlint report' expose_as: 'markdownlint report'
paths: paths:
- markdownlint-report.txt - markdownlint-report.txt
when: on_failure
except: except:
- tags - tags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment