Skip to content

Usar lazy fetch en /mentorias #259

Usar lazy fetch en /mentorias

Usar lazy fetch en /mentorias #259

Workflow file for this run

name: Run Tests
on:
pull_request:
# allow manual run
workflow_dispatch:
# always run on main
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Start containers
run: docker compose -f "docker-compose.yml" up -d --build
- run: docker compose exec app npm run format-ci
- run: docker compose exec app npm run migrate:dev
- run: docker compose exec app npm run build
- run: docker compose exec app npm run test-ci
- name: Stop containers
if: always()
run: docker compose -f "docker-compose.yml" down