Skip to content

Altera caminho do coverage report #53

Altera caminho do coverage report

Altera caminho do coverage report #53

name: Análise de Código
on: push
jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- name: Checkout ✅
uses: actions/checkout@v3
- name: Setup 🏗
uses: actions/setup-node@v2
with:
node-version: lts/*
cache: "npm"
- name: Install ⚙️
run: npm install
- name: Build 🛠
run: npm run build
- name: Test 📋
run: npm run test:prod
- name: Executa SonarCloud Scan
if: ${{ always() }}
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{secrets.API_TOKEN_GITHUB}}
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}