Update .gitlab-ci.yml

This commit is contained in:
Dorian Zedler 2018-12-13 15:15:48 +01:00
parent ab0128b776
commit 3cf3cc05e9

View file

@ -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