From bfaf7aaa29e317cf3eb559fe33c652de2d0bed9e Mon Sep 17 00:00:00 2001 From: Jonny Ngo Luong <jonnynl@stud.ntnu.no> Date: Wed, 24 Mar 2021 09:43:35 +0100 Subject: [PATCH] b --- .gitlab-ci.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f760a16..88a0926 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,16 +1,20 @@ +image: node:4.2.2 + +install: + stage: install + script: + - npm install + - cd server && npm install && cd .. + - cd client && npm install + build: stage: build script: - - echo "build" + - cd server && npm run build && cd .. + - cd client && npm build test: stage: test script: - - echo "test" - -deploy: - stage: deploy - script: - - echo "deploy" - only: - - master + - cd server && npm test && cd .. + - cd client && npm test \ No newline at end of file -- GitLab