From 8bafba2d9415eeadc397e7f677e10d505f6a974f Mon Sep 17 00:00:00 2001 From: Levi Olson Date: Mon, 30 Apr 2018 12:26:12 -0500 Subject: [PATCH] gitlab ci --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1cc1707 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +# This file is a template, and might need editing before it works on your project. +# Official framework image. Look for the different tagged releases at: +# https://hub.docker.com/r/library/node/tags/ +image: node:latest + +cache: + paths: + - node_modules/ + +test_async: + script: + - npm install + - npm run test + +test_coverage: + script: + - npm install + - npm run coverage