From a1beb0a87d366c94677484ad1a10fac474cb6c68 Mon Sep 17 00:00:00 2001 From: shenlong <139912620+shenlong-tanwen@users.noreply.github.com> Date: Wed, 20 Aug 2025 09:20:48 +0530 Subject: [PATCH] chore: update build and test mobile actions to not use npm (#21079) Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> --- .github/workflows/build-mobile.yml | 2 +- .github/workflows/test.yml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-mobile.yml b/.github/workflows/build-mobile.yml index e9f6ce161..71fa35894 100644 --- a/.github/workflows/build-mobile.yml +++ b/.github/workflows/build-mobile.yml @@ -106,7 +106,7 @@ jobs: run: flutter pub get - name: Generate translation file - run: make translation + run: dart run easy_localization:generate -S ../i18n && dart run bin/generate_keys.dart working-directory: ./mobile - name: Generate platform APIs diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 189ade28b..39b4b12b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -462,10 +462,8 @@ jobs: with: channel: 'stable' flutter-version-file: ./mobile/pubspec.yaml - - name: Setup pnpm - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 - name: Generate translation file - run: make translation + run: dart run easy_localization:generate -S ../i18n && dart run bin/generate_keys.dart working-directory: ./mobile - name: Run tests working-directory: ./mobile