diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..cb472c7 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +image: node:alpine + +cache: + paths: + - node_modules/ + - .yarn + +before_script: + - apt-get update -qq && apt-get install + +# stages order. +stages: + - build + +Build: + stage: build + tags: + - node + before_script: + - yarn config set cache-folder .yarn + - yarn install + script: + - yarn eleventy