Skip to content

Commit 078eee1

Browse files
committed
fix: upgrade Node.js to v20 in GitHub Pages workflow
The deploy-github-pages.yml workflow was still using Node.js 18, which is incompatible with Vite 7 (requires 20.19+ or 22.12+). This was causing build failures with the error "crypto.hash is not a function". Updated to match the Node.js version used in the other deployment workflows (PR preview and production).
1 parent d2c5a64 commit 078eee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Node.js
3333
uses: actions/setup-node@v4
3434
with:
35-
node-version: '18'
35+
node-version: '20'
3636
cache: 'npm'
3737

3838
- name: Setup Pages

0 commit comments

Comments
 (0)