Usar lazy fetch en /mentorias #259
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |