diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b42888..de79f9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,9 @@ jobs: - name: Install dependencies run: bun install --frozen-lockfile + - name: Install Playwright browsers + run: bunx playwright install chromium + - name: Generate Expo types run: bunx expo customize tsconfig.json working-directory: ./apps/native @@ -37,4 +40,9 @@ jobs: run: bunx turbo run check-types - name: Run tests - run: bunx turbo run test -- --coverage --coverage-reporter=lcov + run: bunx turbo run test -- --coverage + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/AGENTS.md b/AGENTS.md index 088f9ea..ee6929c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -22,7 +22,7 @@ cd packages/db && bun run db:migrate # Run Drizzle migrations cd packages/db && bun run db:studio # Open Drizzle Studio (visual DB browser) ``` -**Use Bun, not Node.js** — `bun `, `bun test`, `bun install`, `bun run