Skip to content

Commit

Permalink
Merge pull request #195 from ScaleMote/feature/sonarqube-config
Browse files Browse the repository at this point in the history
Add Sonarqube configuration
  • Loading branch information
ivanbelasich authored Jan 18, 2024
2 parents a72704b + be8b6eb commit 96de37e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build

on:
push:
branches: ['main']
pull_request:
branches: ['*']


jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
5 changes: 5 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sonar.projectKey=Scalemote-simple-signer
sonar.sources=src
sonar.exclusions=**/*.spec.ts
sonar.language=ts
sonar.sourceEncoding=UTF-8

0 comments on commit 96de37e

Please sign in to comment.