Skip to content

Feature/page/landing #2

Feature/page/landing

Feature/page/landing #2

Workflow file for this run

name: Build Frontend
on:
push:
paths:
- 'backend/**'
- '.github/workflows/**'
branches:
- main
pull_request:
paths:
- 'backend/**'
- '.github/workflows/**'
types:
- opened
- synchronize
- reopened
jobs:
sonarcloud:
name: SonarCloud Backend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
with:
projectBaseDir: backend
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BACKEND }}