Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '25'
node-version: '26'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
contents: read
strategy:
matrix:
node: ['25', '24', '22']
node: ['26', '25', '24', '22']
name: Node ${{ matrix.node }} validation
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand All @@ -46,12 +46,12 @@ jobs:
# and package-lock.json. Needs to run before npm install
- run: node version-check.js
- run: npm ci
# Node 25 has a known incompatibility: extension-less files in "type: module"
# 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 25 until upstream fixes this.
- if: matrix.node != '25'
# 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 == '25'
- if: matrix.node == '26'
run: npm run test-no-coverage
- run: npm run lint
- run: npm audit --audit-level=critical
Expand Down