summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Allen <dan@opendevise.com>2017-10-07 19:56:29 -0600
committerDan Allen <dan@opendevise.com>2017-10-07 20:12:19 -0600
commitac3d628cf2b5ac8933dcd95308e45890adca77e1 (patch)
tree342c9f8610c82353a38e9a3d7269bc631c09b966
parent57dacb48439e822400b2430f1aa4fba51c5f01e1 (diff)
downloadalpine-antora-theme-ac3d628cf2b5ac8933dcd95308e45890adca77e1.tar.bz2
alpine-antora-theme-ac3d628cf2b5ac8933dcd95308e45890adca77e1.tar.xz
resolves #4 add job to runs linters in CI
-rw-r--r--.gitlab-ci.yml20
-rw-r--r--README.adoc4
2 files changed, 24 insertions, 0 deletions
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.