Skip to content

Bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.46.1 #159

Bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.46.1

Bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.46.1 #159

Workflow file for this run

name: SonarQube Analysis
on:
push:
branches:
- main
- release
pull_request:
branches:
- main
types: [opened, synchronize, reopened]
jobs:
sonarqube:
name: SonarQube
# Only run SonarQube on main branch pushes, not on PRs or other branches
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests with coverage
run: npm run test
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL || 'https://sonarcloud.io' }}