From ef34cdb7b1087a464253937e9a20ad33c688b13a Mon Sep 17 00:00:00 2001 From: Jonny Ngo Luong <jonnynl@stud.ntnu.no> Date: Wed, 24 Mar 2021 10:03:19 +0100 Subject: [PATCH] d1 --- .gitlab-ci.yml | 14 +++++--------- config.toml | 2 ++ 2 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 config.toml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7551781..507f856 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,28 +1,24 @@ image: node:4.2.2 + cache: paths: - node_modules/ - client/node_modules/ - server/node_modules/ -install: - script: - - npm install - - cd server && npm install && cd .. - - pwd - - cd ../client && npm install - build: stage: build + before_script: + - npm --silent install + - cd server && npm install && cd .. + - cd ../client && npm install script: - cd server && npm run build && cd .. - - pwd - cd ../client && npm build test: stage: test script: - cd server && npm test && cd .. - - pwd - cd ../client && npm test \ No newline at end of file diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..aa7f17c --- /dev/null +++ b/config.toml @@ -0,0 +1,2 @@ +[[runners]] + output_limit = 50000 \ No newline at end of file -- GitLab