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
|
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:
|
||||||
build:
|
|
||||||
stage: build
|
|
||||||
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:
|
|
||||||
paths:
|
#build:
|
||||||
- node_modules/
|
# 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:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
Loading…
Reference in a new issue