Skip to content

minor fix

minor fix #170

Workflow file for this run

name: Backend CI
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
backend-checks:
if: |
github.event.pull_request.draft == false &&
github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: cd backend && bun install
- name: Check formatting
run: cd backend && bun format:check
- name: Run linter
run: cd backend && bun lint:fix
- name: Set up Docker
uses: docker/setup-buildx-action@v2
- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Run tests
run: cd backend && bun run test