chore: Use Bun instead of yarn as a package manager #148
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-oidc-auth | |
on: | |
push: | |
branches: [main] | |
paths: | |
- 'packages/oidc-auth/**' | |
pull_request: | |
branches: ['*'] | |
paths: | |
- 'packages/oidc-auth/**' | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- run: bun install --filter './' --filter './packages/oidc-auth' | |
- run: bun --filter './packages/oidc-auth' build | |
- run: bun --filter './packages/oidc-auth' publint | |
- run: bun --filter './packages/oidc-auth' typecheck | |
- run: bun eslint packages/oidc-auth | |
- run: bun vitest --coverage --project @hono/oidc-auth | |
- uses: codecov/codecov-action@v5 | |
with: | |
fail_ci_if_error: true | |
directory: ./coverage | |
flags: oidc-auth | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |