Skip to content

Reescrita do formatador de Delégua. #807

Reescrita do formatador de Delégua.

Reescrita do formatador de Delégua. #807

Workflow file for this run

name: Commit e PR - Principal
on:
pull_request:
branches: [ principal ]
jobs:
testes-unitarios:
permissions:
checks: write
pull-requests: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '16'
# Maneira tradicional de build, sem cobertura.
- name: NPM - Dependências
run: |
sudo npm install
- name: Testes unitários
run: |
sudo npm run testes-unitarios
# Cobertura de código: Trava o GitHub Actions inteiro por algum motivo.
# Reabilitar quando conseguirmos descobrir a causa.
# - uses: ArtiomTr/jest-coverage-report-action@v2
# id: coverage
# if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'DesignLiquido/delegua' }}
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# test-script: yarn testes-unitarios
# package-manager: yarn
# output: report-markdown
# - uses: marocchino/sticky-pull-request-comment@v2
# if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'DesignLiquido/delegua' }}
# with:
# message: ${{ steps.coverage.outputs.report }}