Skip to content

Commit 0471532

Browse files
committed
chore: pin to 22.12 for now because of tsconfig-paths issue
1 parent d7e4c39 commit 0471532

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
1414
with:
1515
persist-credentials: false
1616

17+
# Pin to Node.js 22.12 as 22.18+ breaks tsconfig-paths/register functionality
1718
- uses: actions/setup-node@v4
1819
with:
19-
node-version: "22.x"
20+
node-version: "22.12"
2021

2122
- name: Install
2223
run: npm install

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dist"
99
],
1010
"engines": {
11-
"node": ">=18.0.0"
11+
"node": ">=18.0.0 <22.13.0"
1212
},
1313
"scripts": {
1414
"prepare": "husky install",
@@ -69,6 +69,7 @@
6969
"ts-node": "^10.9.2",
7070
"tsconfig-paths": "^4.2.0",
7171
"tsconfig-replace-paths": "^0.0.14",
72+
"tsx": "^4.20.4",
7273
"typescript": "^5.7.2"
7374
}
7475
}

0 commit comments

Comments
 (0)