diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7551781b9cd1850da78ddced3a96c5dfb15afffb..507f85690f9ee1e09bca8b6e967a27031eaf3124 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 0000000000000000000000000000000000000000..aa7f17c0cd2876a0c9ca223f325552cfb67d3d13 --- /dev/null +++ b/config.toml @@ -0,0 +1,2 @@ +[[runners]] + output_limit = 50000 \ No newline at end of file