Skip to content

chore: fix lint offense in src/cli/index.ts #9

chore: fix lint offense in src/cli/index.ts

chore: fix lint offense in src/cli/index.ts #9

Workflow file for this run

name: SonarQube Code Analysis
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
sonarqube:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Generate code from OpenAPI
run: npm run codegen
- name: Run tests with coverage
run: npm run test:coverage
- name: SonarQube Scan
uses: sonarqube-quality-gate-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
with:
scanMetadataReportFile: .scannerwork/report-task.txt
- name: SonarQube Quality Gate Check
uses: sonarqube-quality-gate-action@master
timeout-minutes: 5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}