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 image: node:10
# add 'node_modules' to cache for speeding up builds # add 'node_modules' to cache for speeding up builds
#cache: cache:
# paths: paths:
# - node_modules/ # Node modules and dependencies - 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: #build:
stage: build # stage: build
script: # script:
- npm install gitbook-cli -g # install gitbook # - npm install gitbook-cli -g # install gitbook
- gitbook fetch 3.2.3 # fetch final stable version # - gitbook fetch 3.2.3 # fetch final stable version
- gitbook install # add any requested plugins in book.json # - gitbook install # add any requested plugins in book.json
artifacts: # artifacts:
paths: # paths:
- node_modules/ # - node_modules/
test: test:
stage: test stage: test