Commit e0d8642c authored by Professor Chaos's avatar Professor Chaos

Update .gitlab-ci.yml

parent c5ebe48e
......@@ -3,7 +3,8 @@ image: node:latest
stages:
- install
- test
- build
- build_docs
- build_app
- deploy
cache:
......@@ -22,19 +23,31 @@ test_with_lab:
stage: test
script: npm test
build_app:
stage: build
build_docs:
stage: build_docs
script:
- npm run docs
- npm run build
artifacts:
paths:
- docs/
build_app:
stage: build_app
script:
- npm run build
artifacts:
paths:
- dist/
only:
- tags
pages:
stage: deploy
script:
- echo 'Nothing to do...'
artifacts:
paths:
- docs
- docs/
only:
- master
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment