if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
run: pnpm coverage
- # - name: Fix Coverage Report Paths
- # if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
- # working-directory: ./coverage
- # run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' lcov.info
-
- name: Check for SonarCloud Token Availability
id: sonar-token
shell: bash
"timeout": 20000,
"full-trace": true,
"exit": true,
- "enable-source-maps": false,
+ "enable-source-maps": true,
"reporter": "mochawesome",
"reporter-options": "reportDir=outputs/mochawesome-report,json=false",
"require": ["mochawesome/register"]
"benchmark": "pnpm build && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs",
"benchmark:prod": "pnpm build:prod && node --max-old-space-size=8192 --enable-source-maps benchmarks/internal/bench.mjs",
"benchmark:debug": "pnpm build && node --max-old-space-size=8192 --enable-source-maps --inspect benchmarks/internal/bench.mjs",
- "test": "pnpm build --environment SOURCEMAP:true && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'",
+ "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'",
"test:debug": "pnpm build && cross-env NODE_ENV=test mocha --no-parallel --inspect 'tests/**/*.test.mjs'",
"coverage": "c8 report --reporter=lcov",
"coverage:html": "c8 report --reporter=html",
sonar.projectName=poolifier
sonar.projectVersion=3.1.11
sonar.host.url=https://sonarcloud.io
-sonar.sources=src
+#sonar.sources=src
+sonar.sources=lib
sonar.tests=tests
#sonar.login=TOKEN # To use for local troubleshooting
sonar.verbose=false