Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

01 #6

Merged
merged 4 commits into from
Oct 1, 2023
Merged

01 #6

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
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Install dependencies
run: npm install # Adjust for your specific setup

- name: Run tests
run: npm run test # Adjust for your specific test command

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
Expand Down
82 changes: 0 additions & 82 deletions .github/workflows/codeql.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,3 @@ jobs:
- name: Run tests and generate coverage
run: |
npm run test

- 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 }}
30 changes: 0 additions & 30 deletions .github/workflows/sonarpush.yml

This file was deleted.

16 changes: 8 additions & 8 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
cacheDirectory: '.tmp/jestCache',
preset: 'ts-jest',
testEnvironment: 'node',
cacheDirectory: '.tmp/jestCache',
collectCoverage: true,
coverageDirectory: '<rootDir>/coverage',
collectCoverageFrom: ['<rootDir>/src/**/*.ts'],
watchPathIgnorePatterns: ["<rootDir>/test-report.json"],
reporters: ["default"],
testResultsProcessor: "jest-sonar-reporter",
coverageReporters: ["text", "html", "lcov", "clover"],
coveragePathIgnorePatterns: ["/node_modules/", "/test/"]
watchPathIgnorePatterns: ['<rootDir>/test-report.json'],
reporters: ['default'],
testResultsProcessor: 'jest-sonar-reporter',
coverageReporters: ['text', 'html', 'lcov', 'clover'],
coveragePathIgnorePatterns: ['/node_modules/', '/test/']
};
Loading
Loading