Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
run: mise run lint
- name: Test
run: mise run test:coverage
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
continue-on-error: true
- name: Install Playwright Browsers
run: mise run playwright:install
- name: Build
Expand All @@ -39,9 +45,3 @@ jobs:
with:
name: playwright-report
path: playwright-report/
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
continue-on-error: true
15 changes: 3 additions & 12 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
# SonarCloud configuration
sonar.organization=cur8d
sonar.projectKey=cur8d.tsx
sonar.projectName=cur8d
sonar.host.url=https://sonarcloud.io

# Source and inclusion patterns
sonar.sources=.
sonar.inclusions=app/**
sonar.exclusions=**/node_modules/**, .next/**, docs/.next/**, coverage/**, tests/**, docs/**

# Test and coverage configuration
sonar.sources=app
sonar.tests=tests
sonar.test.inclusions=tests/**/*.test.tsx,tests/**/*.test.ts,tests/**/*.spec.ts
sonar.test.inclusions=**/*.test.ts,**/*.test.tsx
sonar.javascript.lcov.reportPaths=coverage/lcov.info

# TypeScript configuration
sonar.typescript.lcov.reportPaths=coverage/lcov.info
sonar.typescript.tsconfigPath=tsconfig.json
Loading