aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusMat <hampus@hampusmat.com>2021-07-06 19:54:57 +0000
committerHampusMat <hampus@hampusmat.com>2021-07-06 19:54:57 +0000
commit1ba1c1ffd03adbee82869dae9fdc75767719b287 (patch)
treeddf92e80e964b587e04d29ab0076fb30dc0095b2
parent7e645f4411bc0b04b909e4534a3c4baaca456629 (diff)
Added a Gitlab CI/CD pipeline config
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..76994c3
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+image: node:latest
+
+cache:
+ paths:
+ - node_modules/
+
+test:
+ before_script:
+ - apt-get update -qq && apt-get install -y -qq git libpcre3 libpcre2-posix0 libkrb5-3 libk5crypto3 libcom-err2 libssl1.1 libssl-dev
+ script:
+ - yarn install
+ - yarn test \ No newline at end of file