Skip to content
Merged
37 changes: 37 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,43 @@ jobs:
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}


consumer-types:
name: Consumer Type Test
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: actions/cache/restore@v4
name: Yarn Cache Restore
id: yarn-cache
continue-on-error: true
with:
path: .yarn/cache
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-v1
- name: Yarn Install
uses: nick-fields/retry@v3
with:
timeout_minutes: 15
retry_wait_seconds: 30
max_attempts: 3
command: yarn
- name: Package Consumer Type Test
run: yarn workspace @react-native-firebase/firestore typecheck:consumer
- uses: actions/cache/save@v4
name: Yarn Cache Save
if: "${{ github.ref == 'refs/heads/main' }}"
continue-on-error: true
with:
path: .yarn/cache
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}


typedoc:
name: TypeDoc Generation
runs-on: ubuntu-latest
Expand Down
Loading