Skip to content

fix after rebase

fix after rebase #22

Workflow file for this run

name: 'Sonar Analysis'
on:
push:
branches:
- fix/1220-sonar-code-smells-and-risks
jobs:
sonarqube:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ vars.JAVA_VERSION }}
uses: actions/setup-java@v4
with:
java-version: ${{ vars.JAVA_VERSION }}
distribution: 'temurin'
- name: Set up node ${{ vars.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ vars.NODE_VERSION }}
- name: Install frontend dependencies
run: cd frontend && npm ci
- name: Generate frontend test coverage
run: cd frontend && npm run test -- --coverage
- name: Build and analyze
run: mvn clean verify sonar:sonar -Dsonar.login=${{ secrets.SONAR_TOKEN }} -Dsonar.host.url=${{vars.SONAR_HOST_URL}} -Dsonar.branch.name=fix/1220-sonar-code-smells-and-risks