Skip to content

Refactor test file names and update component stubs in EstadoCidadeSe… #3

Refactor test file names and update component stubs in EstadoCidadeSe…

Refactor test file names and update component stubs in EstadoCidadeSe… #3

name: CI Pipeline
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: yarn install
- name: Run tests with coverage
run: yarn vitest --coverage
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@v1
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.javascript.lcov.reportPaths=coverage/lcov-report/lcov.info