From 2a9da17faafd1e53808218e97cc210498b9a1519 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 21 Sep 2020 01:08:04 +0200 Subject: Add Gitlab CI config --- .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..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 -- cgit