Skip to content

Update sonar-project.properties #7

Update sonar-project.properties

Update sonar-project.properties #7

Workflow file for this run

name: Análise de Código
on: push
jobs:
sonarcloud:
runs-on: ubuntu-latest
environment: actions
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}}