Skip to content

Commit 0cfc2e0

Browse files
MajorTalclaude
andcommitted
Fix CI: add --experimental-test-module-mocks, require Node >= 22
- CI step for src/**/*.test.ts was missing --experimental-test-module-mocks, causing tier-status.test.ts and provision.test.ts to fail (pre-existing) - Update matrix to [22, 24] since mock.module needs Node >= 22.3 and @noble/curves v2 needs Node >= 20.19 - Update engines to >=22 in both packages Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fab663e commit 0cfc2e0

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [18, 20, 22]
13+
node-version: [22, 24]
1414
steps:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v4
@@ -20,5 +20,5 @@ jobs:
2020
- run: npm run build
2121
- run: npm run test:skill
2222
- run: npm run test:sync
23-
- run: node --test --import tsx src/**/*.test.ts
23+
- run: node --experimental-test-module-mocks --test --import tsx src/**/*.test.ts
2424
- run: npm run test:e2e

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"viem": "^2.47.1"
2323
},
2424
"engines": {
25-
"node": ">=20"
25+
"node": ">=22"
2626
},
2727
"license": "MIT",
2828
"homepage": "https://run402.com",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"access": "public"
4646
},
4747
"engines": {
48-
"node": ">=18"
48+
"node": ">=22"
4949
},
5050
"dependencies": {
5151
"@modelcontextprotocol/sdk": "^1.27.1",

0 commit comments

Comments
 (0)