Skip to content

Commit

Permalink
Merge pull request #559 from myrotvorets/envalidator-8
Browse files Browse the repository at this point in the history
Add support for envalid 8.x
  • Loading branch information
myrotvorets-team authored Sep 20, 2023
2 parents 7a1c654 + 92a049c commit 7c52bc5
Show file tree
Hide file tree
Showing 10 changed files with 2,488 additions and 4,681 deletions.
4 changes: 4 additions & 0 deletions .c8rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extension": [".ts"],
"reporter": ["text", "lcov"]
}
2 changes: 1 addition & 1 deletion .github/workflows/sonarscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ permissions:

env:
SONARSCANNER: "true"
COLLECT_COVERAGE: "1"

jobs:
build:
Expand All @@ -29,3 +28,4 @@ jobs:
uses: myrotvorets/composite-actions/node-sonarscan@master
with:
sonar-token: ${{ secrets.SONAR_TOKEN }}
test-script: 'test:coverage'
12 changes: 12 additions & 0 deletions .mocharc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** @type {import('mocha').MochaOptions} */
module.exports = {
recursive: true,
extension: ['.test.ts'],
'node-option': ['require=ts-node/register', 'no-warnings'],
reporter: 'mocha-multi',
'reporter-option': [
'spec=-',
process.env.GITHUB_ACTIONS === 'true' ? 'mocha-reporter-gha=-' : null,
process.env.SONARSCANNER === 'true' ? 'mocha-reporter-sonarqube=test-report.xml' : null,
].filter(Boolean),
}
21 changes: 0 additions & 21 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit 7c52bc5

Please sign in to comment.