mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 20:42:52 +00:00
feat: add the app
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
image: registry.gitlab.com/openstapps/projectmanagement/builder
|
||||
image: registry.gitlab.com/openstapps/app
|
||||
|
||||
stages:
|
||||
- setup
|
||||
- build
|
||||
- test
|
||||
|
||||
setup:
|
||||
image: registry.gitlab.com/openstapps/projectmanagement/builder
|
||||
stage: setup
|
||||
only:
|
||||
- schedules
|
||||
@@ -18,3 +21,39 @@ setup:
|
||||
- docker push registry.gitlab.com/openstapps/app
|
||||
tags:
|
||||
- docker
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- npm install
|
||||
- npm run build
|
||||
artifacts:
|
||||
paths:
|
||||
- node_modules
|
||||
- www
|
||||
tags:
|
||||
- docker
|
||||
|
||||
unit:
|
||||
stage: test
|
||||
script:
|
||||
- npm run test -- --watch=false --no-progress --code-coverage
|
||||
artifacts:
|
||||
paths:
|
||||
- coverage
|
||||
tags:
|
||||
- docker
|
||||
|
||||
e2e:
|
||||
stage: test
|
||||
script:
|
||||
- npm run e2e
|
||||
tags:
|
||||
- docker
|
||||
|
||||
audit:
|
||||
stage: test
|
||||
script:
|
||||
- npm audit
|
||||
tags:
|
||||
- docker
|
||||
|
||||
Reference in New Issue
Block a user