test: switch junit test reporter for lcov results to upload (#539)

This commit is contained in:
Eden Zimbelman
2026-01-23 23:23:00 -08:00
committed by GitHub
parent a47c150757
commit 68e45239df
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
- name: "unit(test): upload coverage to CodeCov"
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
files: test/coverage.xml
files: test/coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}
- name: "build: package code for distribution"
+1 -1
View File
@@ -8,4 +8,4 @@ node_modules
.DS_Store
# Testing remnants
coverage.xml
coverage.txt
+1 -1
View File
@@ -10,7 +10,7 @@
"dev": "act public --eventpath .github/resources/.actions/event.json --secret-file .github/resources/.env --platform ubuntu-latest=node:20-buster --container-architecture linux/amd64",
"lint:fix": "biome check --write",
"lint": "biome check",
"test": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=junit --test-reporter-destination=test/coverage.xml test/*.spec.js",
"test": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=test/coverage.txt test/*.spec.js",
"postversion": "TAG=\"v$(npm pkg get version | jq -r)\" && grep -rl 'slackapi/slack-github-action@v' ./docs ./example-workflows | xargs sed -i \"s|slackapi/slack-github-action@v.*|slackapi/slack-github-action@${TAG}|g\""
},
"repository": {