From: Dan Allen Date: Sun, 8 Oct 2017 01:56:29 +0000 (-0600) Subject: resolves #4 add job to runs linters in CI X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ac3d628cf2b5ac8933dcd95308e45890adca77e1;p=working%2Feg-antora.git resolves #4 add job to runs linters in CI --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a78f2f8 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +image: node:8 +stages: +- setup +- verify +yarn: + stage: setup + script: + - npm install -g yarn + - yarn --cache-folder=.yarn-cache + cache: + paths: + - node_modules/ + - .yarn-cache/ +lint: + stage: verify + cache: + policy: pull + paths: + - node_modules/ + script: node_modules/.bin/gulp lint diff --git a/README.adoc b/README.adoc index 8b7887e..3672aac 100644 --- a/README.adoc +++ b/README.adoc @@ -1,6 +1,10 @@ = Antora Default UI // Project URIs: :uri-project: https://gitlab.com/antora/antora-ui-default +:uri-ci-pipelines: {uri-project}/pipelines +:img-ci-status: {uri-project}/badges/master/pipeline.svg + +image:{img-ci-status}[CI Status (GitLab CI), link={uri-ci-pipelines}] This project is an archetype that demonstrates how to produce a UI bundle for use in an Antora-based documentation pipeline.