From 763a4c0961862dd646fa09639b9c50b112bd2bcb Mon Sep 17 00:00:00 2001 From: birkstoveland <bgstovel@stud.ntnu.no> Date: Sun, 3 Oct 2021 12:21:50 +0200 Subject: [PATCH] feat: add tests to ci --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1d9c4e8..18a0606 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ image: node stages: - build - lint + - test build site: image: node @@ -26,3 +27,9 @@ prettier: script: - npm i prettier - npm run-script prettier + +testing: + stage: test + script: + - npm i jest + - nprm run tests -- GitLab