Skip to content

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

chore: Use Bun instead of yarn as a package manager

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

Workflow file for this run

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