Skip to content

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

chore: Use Bun instead of yarn as a package manager

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

Workflow file for this run

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