Skip to content

Merge pull request #1 from fga-eps-mds/doc(#22)/update-template-pr #2

Merge pull request #1 from fga-eps-mds/doc(#22)/update-template-pr

Merge pull request #1 from fga-eps-mds/doc(#22)/update-template-pr #2

Workflow file for this run

name: Análise de Código
on:
push:
branches:
- dev
- main
- master
pull_request:
branches:
- dev
- main
- master
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Instala dependências
run: npm install
- name: Executa testes e gera cobertura
run: npm run 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}}