Update .gitlab-ci.yml
This commit is contained in:
parent
ab0128b776
commit
3cf3cc05e9
1 changed files with 16 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue