aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-21 01:08:04 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-21 01:08:04 +0200
commit69d552729f44a3713eceff8c46ee61b8508eb02b (patch)
treeb2a2512f0a45e0606eaeb9f422b12c7644b9e35a
parent8b25c58124f87421fd3da836b884f338f33a8113 (diff)
Add Gitlab CI config
-rw-r--r--.gitlab-ci.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..cc95c38
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -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