Skip to content

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

chore: Use Bun instead of yarn as a package manager

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

Workflow file for this run

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