mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-07-14 18:15:56 -04:00
33 lines
649 B
YAML
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
|