Skip to content

Commit 02c2303

Browse files
authored
yargs patch fix
1 parent 266034e commit 02c2303

3 files changed

Lines changed: 5 additions & 11 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,7 @@ jobs:
4646
# and package-lock.json. Needs to run before npm install
4747
- run: node version-check.js
4848
- run: npm ci
49-
# Node 26 has a known incompatibility: extension-less files in "type: module"
50-
# packages are treated as ESM, causing c8's require('yargs/yargs') to fail.
51-
# Fall back to plain unit tests without coverage on Node 26 until upstream fixes this.
52-
- if: matrix.node != '26'
53-
run: npm test
54-
- if: matrix.node == '26'
55-
run: npm run test-no-coverage
49+
- run: npm test
5650
- run: npm run lint
5751
- run: npm audit --audit-level=critical
5852
- run: npm run build-with-tests && npm run test-transpiled

‎build-package.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ npm install
1111

1212
# pre-requisites
1313
npm run lint
14-
npm test-no-coverage #TODO revert to npm test when c8 is fixed
14+
npm test
1515

1616
# clean any old files
1717
npm run clean

‎package-lock.json‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)