Adds GitHub Action to verify Prettier #3
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: Check Code Formatting | |
on: | |
pull_request: | |
# branches: | |
# - main | |
jobs: | |
checks-format: | |
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 run format |