Skip to content

Development

Development #7

Workflow file for this run

name: Lint on PR
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Run ESLint
run: |
bun run lint --quiet || true
if bun run lint --quiet --format json | jq '.[].errorCount' | grep -q '[1-9]'; then
exit 1
fi