Skip to content

Add lint-staged, husky for formatting during commits #22

Add lint-staged, husky for formatting during commits

Add lint-staged, husky for formatting during commits #22

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build containers
run: docker-compose build --build-arg MIX_ENV=test
- name: Start containers
run: docker-compose up -d db cache
- name: Run tests
run: docker-compose run web bash -c 'cd server && mix test'