fix(prettier): Handle --fix errors and non-error output correctly #22
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: Validate | |
on: | |
workflow_call: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
checks: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
- run: bun check | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
- run: bun run build | |
tests: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-22.04 | |
# - windows-latest # Bun doesn't support windows yet... | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
- run: bun test --coverage |