From 39d709a2029c509ef425b46f4088d6331dce15fe Mon Sep 17 00:00:00 2001
From: julientaq <julien@coko.foundation>
Date: Sat, 18 Dec 2021 21:58:28 +0100
Subject: [PATCH] add ci/cd

---
 .gitlab-ci.yml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..de897d3
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,19 @@
+stages:
+  - build
+  - deploy
+
+pages:
+  stage: build
+  image: node:lts-buster
+  cache:
+    key: "$CI_JOB_NAME"
+    paths:
+      - node_modules/
+  script:
+    - npm install
+    - npm run build
+  artifacts:
+    paths:
+      - public
+  only:
+    - master
-- 
GitLab