Completude de LMHT sensível a contexto e com inserção de marcação (#103) #48
Workflow file for this run
This file contains hidden or 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: Testes Unitários | |
| on: | |
| pull_request: | |
| branches: [ principal ] | |
| push: | |
| branches: [ principal ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| testes-unitarios: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'yarn' | |
| - name: Yarn - Dependências | |
| run: yarn install --frozen-lockfile | |
| - name: Testes unitários com cobertura | |
| run: yarn testes-unitarios --coverage --coverageReporters=json-summary --coverageReporters=text | |
| - name: Salvar resultados de cobertura | |
| if: github.event_name == 'pull_request' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-report | |
| path: coverage/coverage-summary.json | |
| retention-days: 1 |