Skip to content

chore: Use Bun instead of yarn as a package manager #34

chore: Use Bun instead of yarn as a package manager

chore: Use Bun instead of yarn as a package manager #34

Workflow file for this run

name: ci-react-compat
on:
push:
branches: [main]
paths:
- 'packages/react-compat/**'
pull_request:
branches: ['*']
paths:
- 'packages/react-compat/**'
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install --filter './' --filter './packages/react-compat'
- run: bun --filter './packages/react-compat' build
- run: bun --filter './packages/react-compat' publint
- run: bun --filter './packages/react-compat' typecheck
- run: bun eslint packages/react-compat
# - run: bun vitest --coverage --project @hono/react-compat
# - uses: codecov/codecov-action@v5
# with:
# fail_ci_if_error: true
# directory: ./coverage
# flags: react-compat
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}