mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-06 21:42:49 +00:00
ci: adjust jobs to match configuration
This commit is contained in:
@@ -5,6 +5,9 @@ cache:
|
||||
paths:
|
||||
- node_modules
|
||||
|
||||
before_script:
|
||||
- npm install
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
@@ -13,7 +16,6 @@ stages:
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- npm install
|
||||
- npm run build
|
||||
artifacts:
|
||||
paths:
|
||||
@@ -38,23 +40,22 @@ scheduled-audit:
|
||||
mocha:
|
||||
stage: test
|
||||
script:
|
||||
- npm install
|
||||
- npm test
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- npm install
|
||||
- npm run documentation
|
||||
- mv docs public
|
||||
only:
|
||||
- master
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
|
||||
|
||||
docker:
|
||||
image: registry.gitlab.com/openstapps/projectmanagement/builder:latest
|
||||
before_script: []
|
||||
dependencies:
|
||||
- build
|
||||
stage: deploy
|
||||
|
||||
Reference in New Issue
Block a user