From dbd876e0d3f299bcc2b6cf781fa8b936b3635546 Mon Sep 17 00:00:00 2001 From: Jonny Ngo Luong <jonnynl@stud.ntnu.no> Date: Wed, 24 Mar 2021 10:28:22 +0100 Subject: [PATCH] asd --- .gitlab-ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93a544c..d4f556c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,19 +9,14 @@ cache: - client/node_modules/ - server/node_modules/ -build: +build_and_test: stage: build before_script: - npm --silent install - cd server && npm --silent install - - pwd - cd ../client && npm --silent install script: - npm build - -test: - stage: test - script: - - cd server && npm test - - pwd + after_script: + - cd ../server && npm test - cd ../client && npm test \ No newline at end of file -- GitLab