Skip to content

Correción error https #3 #27

Correción error https #3

Correción error https #3 #27

Workflow file for this run

name: Build and SonarQube Analysis
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarqube:
runs-on: windows-latest
defaults:
run:
working-directory: PintudosFront
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: npm install
- name: Run tests with coverage
run: npm run test -- --coverage || true
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v5
with:
projectBaseDir: PintudosFront
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}