build: typescript project references #88
Workflow file for this run
This file contains hidden or 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-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: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - run: yarn workspaces focus hono-middleware @hono/hello | |
| - run: yarn workspace @hono/hello build | |
| - run: yarn workspace @hono/hello publint | |
| - run: yarn workspace @hono/hello typecheck | |
| - run: yarn test --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 }} |