diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6d43566..37f3c5d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,19 +2,23 @@ image: node:10 # add 'node_modules' to cache for speeding up builds -#cache: -# paths: -# - node_modules/ # Node modules and dependencies +cache: + paths: + - node_modules/ # Node modules and dependencies +before_script: + - npm install gitbook-cli -g # install gitbook + - gitbook fetch 3.2.3 # fetch final stable version + - gitbook install # add any requested plugins in book.json -build: - stage: build - script: - - npm install gitbook-cli -g # install gitbook - - gitbook fetch 3.2.3 # fetch final stable version - - gitbook install # add any requested plugins in book.json - artifacts: - paths: - - node_modules/ +#build: +# stage: build +# script: +# - npm install gitbook-cli -g # install gitbook +# - gitbook fetch 3.2.3 # fetch final stable version +# - gitbook install # add any requested plugins in book.json +# artifacts: +# paths: +# - node_modules/ test: stage: test