From ee7672ffa014c7938001859d8a60138c0232e889 Mon Sep 17 00:00:00 2001 From: Laurent Fainsin Date: Fri, 21 May 2021 14:17:05 +0000 Subject: [PATCH] feat: added .gitlab-ci.yml file --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml 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