From 07b929505aaa8d5168ab7b03822ec002740af20f Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 20 Sep 2020 17:27:30 +0200 Subject: Add Gitlab CI config --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..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