Changed folder structure

This commit is contained in:
2025-02-28 15:48:47 +01:00
parent 389d5e9a3e
commit 27119c798d
64 changed files with 597 additions and 57 deletions

View File

@@ -6,8 +6,10 @@ stages:
- build
- publish
install:
install-mobile:
stage: install
before_script:
- cd src/WorkTime.Mobile
script:
- npm install --prefer-offline
cache:
@@ -17,9 +19,11 @@ install:
paths:
- node_modules
lint:
lint-mobile:
stage: lint
needs: ["install"]
needs: ["install-mobile"]
before_script:
- cd src/WorkTime.Mobile
script:
- npm run lint
cache:
@@ -30,9 +34,11 @@ lint:
- node_modules
policy: pull
build:
build-mobile:
stage: build
needs: ["lint"]
needs: ["lint-mobile"]
before_script:
- cd src/WorkTime.Mobile
script:
- npm run build
artifacts:
@@ -47,13 +53,15 @@ build:
- node_modules
policy: pull
publish:
publish-mobile:
stage: publish
needs: ["build"]
needs: ["build-mobile"]
image: docker:latest
services:
- name: docker:dind
alias: docker
before_script:
- cd src/WorkTime.Mobile
script:
- export VERSION=$(echo $CI_COMMIT_TAG | sed 's/^v//')
- docker login -u leon.hoppe -p ${CI_REGISTRY_PASSWORD} registry.leon-hoppe.de