Update and rename main.yml to lint.yml #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
name: lint | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
# ... | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v1 | |
# run any `bun` or `bunx` command | |
- run: bun install | |
- run: bun index.ts | |
- run: bun run build |