Commit fe69d9c
committed
Fix VitePress build by pinning Node.js to v24
The build was failing with 'localStorage.getItem is not a function'
error in GitHub Actions using Node.js v25, while it worked locally
with Node.js v24. This appears to be a compatibility issue with
@typescript/vfs (used by @shikijs/vitepress-twoslash) in Node.js v25.
Pinning the Node.js version to v24 in the publish-docs workflow
resolves the issue.1 parent 581b289 commit fe69d9c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments