Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: directory refactor to monorepo #2

Merged
merged 11 commits into from
Oct 2, 2023
14 changes: 14 additions & 0 deletions .github/workflows/flutter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,51 +13,65 @@ jobs:
working-directory: ./supabase-ws-flutter-mobile
steps:
- uses: actions/checkout@v3
working-directory: ./supabase-ws-flutter-mobile
nicolantean marked this conversation as resolved.
Show resolved Hide resolved
- uses: actions/setup-java@v3
working-directory: ./supabase-ws-flutter-mobile
with:
distribution: 'zulu'
java-version: '11'
- uses: dart-lang/[email protected]
working-directory: ./supabase-ws-flutter-mobile
- uses: subosito/flutter-action@v2
working-directory: ./supabase-ws-flutter-mobile
with:
channel: 'stable'
cache: true
- name: Cache FVM & Flutter
uses: actions/cache@v3
working-directory: ./supabase-ws-flutter-mobile
with:
path: /home/runner/fvm/versions/
key: ${{ runner.os }}-${{ hashFiles('**/fvm_config.json') }}
- name: Cache pub cache
uses: actions/cache@v3
working-directory: ./supabase-ws-flutter-mobile
with:
path: /home/runner/.pub-cache/
key: ${{ runner.os }}-pub-cache
- name: Install FVM && Flutter
working-directory: ./supabase-ws-flutter-mobile
run: dart pub global activate fvm --verbose && fvm install --verbose && fvm use --force --verbose
- uses: ruby/setup-ruby@v1
working-directory: ./supabase-ws-flutter-mobile
with:
bundler-cache: true
- name: Activate arb_utils
working-directory: ./supabase-ws-flutter-mobile
run: |
dart pub global activate arb_utils
- name: Get dependencies
uses: maierj/[email protected]
working-directory: ./supabase-ws-flutter-mobile
with:
lane: 'fetch_dependencies'
- name: 'Run lints'
uses: maierj/[email protected]
working-directory: ./supabase-ws-flutter-mobile
with:
lane: 'lints'
- name: 'Check generated code'
uses: maierj/[email protected]
working-directory: ./supabase-ws-flutter-mobile
with:
lane: 'ensure_no_change_in_generated_code'
- name: 'Run tests'
uses: maierj/[email protected]
working-directory: ./supabase-ws-flutter-mobile
with:
lane: 'tests'
- name: 'Build android app'
uses: maierj/[email protected]
working-directory: ./supabase-ws-flutter-mobile
with:
lane: 'android build_dev_debug_apk'
subdirectory: 'android'
File renamed without changes.