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