Skip to content

Bump eslint-plugin-react-hooks from 4.6.2 to 5.0.0 #98

Bump eslint-plugin-react-hooks from 4.6.2 to 5.0.0

Bump eslint-plugin-react-hooks from 4.6.2 to 5.0.0 #98

Workflow file for this run

name: Scan with SonarCloud
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
# Install dependencies (including Vitest)
- name: Install dependencies
run: npm install
# Run Vitest for coverage, ignore test failures
- name: Run Vitest for coverage
run: |
npm run test:cov || true
# SonarCloud Scan
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}