Skip to content

chore(repo): Publish packages #11

chore(repo): Publish packages

chore(repo): Publish packages #11

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@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1
- name: Setup Flutter
uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf # 2.13.0
with:
channel: stable
cache: true
- name: Get Packages
working-directory: packages/celest_auth
run: dart pub get && dart pub get --directory=example/celest
- 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