Skip to content

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

chore: Use Bun instead of yarn as a package manager

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

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