Skip to content

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

chore: Use Bun instead of yarn as a package manager

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

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