Skip to content

Commit 31ae6c2

Browse files
authoredNov 17, 2024
Improved task 1
1 parent f1d958e commit 31ae6c2

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed
 

Diff for: ‎.github/workflows/node.yml

+6
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,11 @@ jobs:
3333
pnpm run coverage
3434
ls -al coverage
3535
36+
- name: SonarCloud Scan
37+
uses: SonarSource/sonarcloud-github-action@master
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
SONAR_TOKEN: 3846aa5041adeb0739dbe72dc92e77078e041a0e
41+
3642
- name: Upload coverage to codecov
3743
run: curl -s https://codecov.io/bash | bash

Diff for: ‎sonar-project.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sonar.projectKey=LeetCode-in-TypeScript
2-
sonar.organization=leetcode-in-typescript
1+
sonar.projectKey=LeetCode-in-JavaScript_LeetCode-in-JavaScript
2+
sonar.organization=leetcode-in-javascript
33
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
44
sonar.exclusions=coverage/**/*

Diff for: ‎vite.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default defineConfig({
99
minThreads: 1,
1010
coverage: {
1111
provider: 'istanbul',
12-
include: ['src/main/**/*.ts'],
12+
include: ['src/main/**/*.js'],
1313
reporter: ['text', 'lcov'],
1414
},
1515
},

0 commit comments

Comments
 (0)