Added backend functions
This commit is contained in:
@@ -9,7 +9,7 @@ install-mobile:
|
||||
stage: install
|
||||
image: node:lts-alpine
|
||||
before_script:
|
||||
- cd src/WorkTime.Mobile
|
||||
- cd src/WorkTime.WebMobile
|
||||
script:
|
||||
- npm install --prefer-offline
|
||||
cache:
|
||||
@@ -30,7 +30,7 @@ lint-mobile:
|
||||
image: node:lts-alpine
|
||||
needs: ["install-mobile"]
|
||||
before_script:
|
||||
- cd src/WorkTime.Mobile
|
||||
- cd src/WorkTime.WebMobile
|
||||
script:
|
||||
- npm run lint
|
||||
cache:
|
||||
@@ -46,7 +46,7 @@ build-mobile:
|
||||
image: node:lts-alpine
|
||||
needs: ["lint-mobile"]
|
||||
before_script:
|
||||
- cd src/WorkTime.Mobile
|
||||
- cd src/WorkTime.WebMobile
|
||||
script:
|
||||
- npm run build
|
||||
artifacts:
|
||||
@@ -90,7 +90,7 @@ publish-mobile:
|
||||
- name: docker:dind
|
||||
alias: docker
|
||||
before_script:
|
||||
- cd src/WorkTime.Mobile
|
||||
- cd src/WorkTime.WebMobile
|
||||
script:
|
||||
- export VERSION=$(echo $CI_COMMIT_TAG | sed 's/^v//')
|
||||
- docker login -u leon.hoppe -p ${CI_REGISTRY_PASSWORD} registry.leon-hoppe.de
|
||||
|
||||
Reference in New Issue
Block a user