From 535cbcc7b81355197af4e39549cd22a6c505d54c Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Thu, 22 Apr 2021 00:41:15 +0200 Subject: Add gitlab CI config --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..703003c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +image: node:15 + +stages: + - lint + - test + +before_script: + - npm install + +lint: + stage: lint + script: + - npm run lint +test: + stage: test + script: + - npm run test -- cgit