refactor: replace unit-tests.yml with ci.yml for improved code qualit… #1
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
on: | |
release: | |
types: [published] | |
pull_request: | |
branches: '**' | |
paths-ignore: | |
- '**.md' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
name: my-workflow | |
jobs: | |
unit-tests: | |
name: Code Quality Checks(lint, test, tsc) | |
runs-on: ubuntu-latest | |
steps: | |
# ... | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
# run any `bun` or `bunx` command | |
- run: bun install | |
- run: bun lint | |
- run: bunx tsc | |
- run: bun test |