]> git.r.bdr.sh - rbdr/cologne/commitdiff
Add Gitlab CI config
authorRuben Beltran del Rio <redacted>
Sun, 20 Sep 2020 23:08:04 +0000 (01:08 +0200)
committerRuben Beltran del Rio <redacted>
Sun, 20 Sep 2020 23:08:04 +0000 (01:08 +0200)
.gitlab-ci.yml [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..cc95c38
--- /dev/null
@@ -0,0 +1,18 @@
+image: node:14
+
+stages:
+  - lint
+  - test
+
+before_script:
+    - npm install
+
+lint:
+  stage: lint
+  script:
+    - npm run lint
+
+test:
+  stage: test
+  script:
+    - npm test