Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

chore(deps): update dependencies (non-major) #785

chore(deps): update dependencies (non-major)

chore(deps): update dependencies (non-major) #785

Workflow file for this run

name: Sonar
on:
push:
branches:
- master
- bugfix/*
- feature/*
- release/*
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: SonarCloud
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: Generate test-report.xml
run: |
npm ci
npm run lint
tsc
npm test -- --coverage
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}