diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..18da3740677cc32d14bec5cb1e9a472dee2ee636 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,32 @@ +include: + - template: Code-Quality.gitlab-ci.yml + + +stages: + - test + - build + - release + +tests: + stage: test + image: node:10 + before_script: + - npm install + script: + - npx markdownlint -o markdownlint-report.txt rdd-technical-reference.md + artifacts: + expose_as: 'markdownlint report' + paths: + - markdownlint-report.txt + except: + - tags + +create_pdf: + stage: build + image: pandoc/latex + before_script: + - pandoc --version + script: + - pandoc --template=rdd.latex rdd-technical-reference.md -o rdd-technical-reference.pdf + only: + - master