feat(eslint-config): enable linting with type information #96
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-medley-router | |
on: | |
push: | |
branches: [main] | |
paths: | |
- 'packages/medley-router/**' | |
pull_request: | |
branches: ['*'] | |
paths: | |
- 'packages/medley-router/**' | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- run: yarn workspaces focus hono-middleware @hono/medley-router | |
- run: yarn workspace @hono/medley-router build | |
- run: yarn workspace @hono/medley-router publint | |
- run: yarn workspace @hono/medley-router typecheck | |
- run: yarn eslint packages/medley-router | |
- run: yarn test --coverage --project @hono/medley-router | |
- uses: codecov/codecov-action@v5 | |
with: | |
fail_ci_if_error: true | |
directory: ./coverage | |
flags: medley-router | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |