Skip to content

chore(repo): Update example projects #54

chore(repo): Update example projects

chore(repo): Update example projects #54

Workflow file for this run

name: celest_auth
on:
pull_request:
paths:
- ".github/workflows/celest_auth.yaml"
- "packages/celest_auth/**"
# Prevent duplicate runs due to Graphite
# https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/main' && github.sha || ''}}
cancel-in-progress: true
jobs:
build:
runs-on: macos-latest-xlarge
timeout-minutes: 15
steps:
- name: Git Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # 4.1.2
- name: Setup Flutter
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # 2.16.0
with:
channel: stable
cache: true
- name: Setup Melos
run: dart pub global activate melos
- name: Get Packages
run: melos bootstrap
- name: Analyze
working-directory: packages/celest_auth
run: dart analyze --fatal-infos --fatal-warnings
- name: Format
working-directory: packages/celest_auth
run: dart format --set-exit-if-changed .
- name: Test (Example)
working-directory: packages/celest_auth/example/celest
run: dart test
- name: Build Example (iOS)
working-directory: packages/celest_auth/example
run: flutter build ios --no-codesign
- name: Build Example (Web)
working-directory: packages/celest_auth/example
run: flutter build web