diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 185d21d8e39..52d16570093 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,13 +46,7 @@ jobs: # and package-lock.json. Needs to run before npm install - run: node version-check.js - run: npm ci - # Node 26 has a known incompatibility: extension-less files in "type: module" - # packages are treated as ESM, causing c8's require('yargs/yargs') to fail. - # Fall back to plain unit tests without coverage on Node 26 until upstream fixes this. - - if: matrix.node != '26' - run: npm test - - if: matrix.node == '26' - run: npm run test-no-coverage + - run: npm test - run: npm run lint - run: npm audit --audit-level=critical - run: npm run build-with-tests && npm run test-transpiled diff --git a/package-lock.json b/package-lock.json index f3274641361..fa595d75e17 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3324,9 +3324,9 @@ } }, "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "version": "17.7.3", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", + "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", "dev": true, "license": "MIT", "dependencies": {