Added backend functions

This commit is contained in:
2025-03-04 13:56:38 +01:00
parent a98709b0a1
commit 3a118a9b34
22 changed files with 578 additions and 5 deletions

View File

@@ -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