Skip to content

chore: update packages & updgrade eslint to 9 #48

chore: update packages & updgrade eslint to 9

chore: update packages & updgrade eslint to 9 #48

Workflow file for this run

name: Sonar Scan
on:
# Trigger analysis when pushing in master or pull requests, and when creating
# a pull request.
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
with:
args: >
-Dsonar.projectKey=prabhuignoto_react-visual-grid
-Dsonar.organization=prabhuignoto
-Dsonar.sources=src/components,src/common,src/effects
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.exclusions=**/node_modules/**,**/dist/**,src/examples/**
-Dsonar.coverage.exclusions=**/node_modules/**,**/dist/**,src/examples/**,**/*.test.js,**/*.test.jsx,**/*.test.ts,**/*.test.tsx
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
-Dsonar.tests=src/components,src/common,src/effects
-Dsonar.test.inclusions=**/*.test.js,**/*.test.jsx,**/*.test.ts,**/*.test.tsx
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}