Moved project from Bitbucket to Github

This commit is contained in:
Liviu Burcusel 2025-10-25 09:26:47 +02:00
parent e7e7278577
commit f05a1ee3dc
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
3 changed files with 40 additions and 70 deletions

36
.github/workflows/sonar.yml vendored Normal file
View file

@ -0,0 +1,36 @@
name: Sonar
permissions:
contents: read
pull-requests: write
on:
push:
branches:
- production
pull_request:
branches:
- production
types: [opened, synchronize, reopened]
jobs:
sonarqube:
name: SonarQube
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node environment
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run tests and generate coverage
run: npm run coverage
continue-on-error: true
env:
CI: true
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v6
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}