Skip to content

188 pagina visualizacao padrao #341

188 pagina visualizacao padrao

188 pagina visualizacao padrao #341

Workflow file for this run

name: Análise de Código
on:
workflow_dispatch:
push:
branches:
- dev
- main
pull_request:
# types: [opened, synchronize, reopened]
branches:
- dev
- main
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Instala dependências
run: yarn
- name: Executa linter
run: yarn lint
- name: Executa testes e gera cobertura
run: yarn test:all
- name: Executa SonarCloud Scan
if: ${{ always() }}
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
- name: Envia cobertura para o Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
flags: jest
name: 2023.2-PrintGo-FrontEnd
verbose: true