Files
sofa/.github/workflows/test.yml
T

33 lines
649 B
YAML

name: Test
on:
pull_request:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Generate Expo types
run: bunx expo customize tsconfig.json
working-directory: ./apps/native
- name: Lint
run: bunx turbo run lint
- name: Type check
run: bunx turbo run check-types
- name: Run tests
run: bunx turbo run test -- --coverage --coverage-reporter=lcov