name: TrafficCue CI
on: [push]

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: latest
      - uses: oven-sh/setup-bun@v2
      - name: Install dependencies
        run: bun i
      - name: Compile translations
        run: bunx @inlang/paraglide-js compile
      - run: bun run check
      - run: bunx eslint
      - run: bunx prettier --check .
