refactor: move package.json
scripts to ci (#424)
#437
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: Prettier | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set Up BunJS | |
uses: oven-sh/setup-bun@v2 | |
- name: Install Dependencies | |
run: bun i | |
- name: Lint | |
run: bun prettier . --check |