Skip to content

Merge pull request #42 from fga-eps-mds/develop #314

Merge pull request #42 from fga-eps-mds/develop

Merge pull request #42 from fga-eps-mds/develop #314

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}}