mirror of
https://github.com/immich-app/immich.git
synced 2026-07-28 22:51:21 -07:00
chore(mobile): harden mobile OpenAPI codegen and dependency install (#30202)
* chore(mobile): harden mobile OpenAPI codegen and dependency install * Cleaner mise cascade * Version openapi-generator-cli with mise * Relocate tool definition * Update lock file
This commit is contained in:
@@ -127,9 +127,8 @@ jobs:
|
||||
with:
|
||||
packages: ''
|
||||
|
||||
- name: Get Packages
|
||||
working-directory: ./mobile
|
||||
run: flutter pub get
|
||||
- name: Install dependencies
|
||||
run: mise //mobile:install:ci
|
||||
|
||||
- name: Generate translation file
|
||||
run: mise //mobile:codegen:translation
|
||||
@@ -226,9 +225,8 @@ jobs:
|
||||
github_token: ${{ steps.token.outputs.token }}
|
||||
working_directory: ./mobile
|
||||
|
||||
- name: Install Flutter dependencies
|
||||
working-directory: ./mobile
|
||||
run: flutter pub get
|
||||
- name: Install dependencies
|
||||
run: mise //mobile:install:ci
|
||||
|
||||
- name: Generate translation files
|
||||
run: mise //mobile:codegen:translation
|
||||
|
||||
@@ -48,9 +48,8 @@ jobs:
|
||||
github_token: ${{ github.token }}
|
||||
working_directory: ./mobile
|
||||
|
||||
- name: Get packages
|
||||
working-directory: ./mobile
|
||||
run: flutter pub get
|
||||
- name: Install dependencies
|
||||
run: mise //mobile:install:ci
|
||||
|
||||
- name: Fetch base spec from main
|
||||
run: |
|
||||
|
||||
@@ -70,10 +70,10 @@ jobs:
|
||||
working_directory: ./mobile
|
||||
|
||||
- name: Install dependencies
|
||||
run: flutter pub get
|
||||
run: mise //mobile:install:ci
|
||||
|
||||
- name: Install dependencies for UI package
|
||||
run: flutter pub get
|
||||
run: flutter pub get --enforce-lockfile
|
||||
working-directory: ./mobile/packages/ui
|
||||
|
||||
- name: Generate translation files
|
||||
|
||||
@@ -610,8 +610,7 @@ jobs:
|
||||
working_directory: ./mobile
|
||||
|
||||
- name: Install dependencies
|
||||
run: flutter pub get
|
||||
working-directory: ./mobile
|
||||
run: mise //mobile:install:ci
|
||||
|
||||
- name: Generate translation files
|
||||
run: mise //mobile:codegen:translation
|
||||
@@ -920,6 +919,6 @@ jobs:
|
||||
# emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
||||
# disable-animations: true
|
||||
# script: |
|
||||
# flutter pub get
|
||||
# flutter pub get --enforce-lockfile
|
||||
# flutter test integration_test
|
||||
# attempt_limit: 3
|
||||
|
||||
Reference in New Issue
Block a user