Skip to content

Adding Allan Vazquez (@codenaud) as a new contributor to the project. #116

Adding Allan Vazquez (@codenaud) as a new contributor to the project.

Adding Allan Vazquez (@codenaud) as a new contributor to the project. #116

name: Pull Request Sonar Analysis
on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- develop
jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Test and coverage
run: npm run test -- --coverage
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}