Skip to content

Commit e682ec7

Browse files
committed
chore(workflow): add comment about node 22 test coverage exclusion
1 parent 45b962d commit e682ec7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,16 @@ jobs:
7070
strategy:
7171
matrix:
7272
os: [ubuntu-latest, macos-26]
73+
# The "--test-coverage-exclude" flag is supported in v22.5.0 and later.
74+
# By default, all matching test files are excluded from the coverage report.
75+
# Only Node.js 22.x requires explicitly declaring test file exclusions.
7376
node:
7477
- version: 20.x
7578
options: ''
7679
- version: 22.x
7780
options: --test-coverage-exclude=test/**/*.js
7881
- version: 24.x
79-
options: --test-coverage-exclude=test/**/*.js
82+
options: ''
8083

8184
steps:
8285
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

0 commit comments

Comments
 (0)