adicionar teste no título da página #204
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |