refactor: update to node 22

refactor: remove deprecated "jetifier"
refactor: base migration to Angular v18
fix: angular warning
refactor: update capacitor to v6
refactor: update ngx-markdown to v18
refactor: update to ionic v8
refactor: remove deprecated @ionic-native/core (replaced by @awesome-cordova-plugins/core)
fix: build
fix: test
feat: temporarily use external node image in ci
feat: update to node 22
refactor: rebase
fix: prettier depencencies
ci: update android commandline tools
fix: prettier package type
ci: let pnpm handle build dependencies
refactor: revert to pnpm 8, angular 17
This commit is contained in:
2024-05-30 13:30:01 +02:00
committed by Rainer Killinger
parent ef4e1f8ded
commit b48f3503a7
44 changed files with 2752 additions and 4032 deletions

View File

@@ -1,6 +1,6 @@
.limit_scheduled_pipelines:
rules:
- if: $CI_COMMIT_BRANCH == 'main' && $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_BRANCH == 'ionic-8-update' && $CI_PIPELINE_SOURCE == "schedule"
base image:
image: docker
@@ -16,8 +16,7 @@ base image:
- >
docker login -u "${CI_REGISTRY_USER}" -p "${CI_JOB_TOKEN}" "${CI_REGISTRY}" &&
docker build
-t "${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:$(grep -o '"version": "[^"]*' "${DEPLOY_DIR}/package.json" | cut -d'"' -f4)"
-t "${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:latest" "${CI_PROJECT_DIR}/${DEPLOY_DIR}" &&
-t "${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:node-22" "${CI_PROJECT_DIR}/${DEPLOY_DIR}" &&
docker push "${CI_REGISTRY_IMAGE}/${IMAGE_NAME}" --all-tags
cache: {} # disable irrelevant cache for this job
before_script: [] # do not run irrelevant before script for this job