Skip to content

Commit 3d25df7

Browse files
fix(ci): upgrade to Node 22 to fix katex __VERSION__ crash in mint CLI
The mint CLI >=4.2.404 ships a katex version whose ESM entry point references an unbundled __VERSION__ constant. Node 20 throws 'ReferenceError: __VERSION__ is not defined'; Node 22 handles this correctly. Upgrade the CI from Node 20 → 22 so we can keep using mint@latest. Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 28dd232 commit 3d25df7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/check-broken-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Setup Node.js
3535
uses: actions/setup-node@v4
3636
with:
37-
node-version: '20'
37+
node-version: '22'
3838

3939
- name: Install Mint CLI
4040
run: npm install -g mint@latest

0 commit comments

Comments
 (0)