Skip to content

Merge pull request #49 from fga-eps-mds/feature/##199-ativar-notificacao #224

Merge pull request #49 from fga-eps-mds/feature/##199-ativar-notificacao

Merge pull request #49 from fga-eps-mds/feature/##199-ativar-notificacao #224

Workflow file for this run

name: Build
on:
push:
branches:
- develop
- teste/sonar
- sonar/carrigindo_sonar
- teste/sonarcloud
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install dependencies
run: yarn
- name: Test and coverage
run: yarn jest --coverage
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Sincroniza cobertura de testes com o Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
flags: jest
name: 2023-2-GEROcuidado-Front
verbose: true