Skip to content

Commit 8f78ccf

Browse files
committed
fix: upgrade to React 19 in CI workflow
The test workflow was using React 18 which doesn't have the same renderToReadableStream API as React 19. Local development uses React 19, causing a mismatch that led to test failures in CI. Updated the workflow to install react@19 and react-dom@19 to match the local development environment and ensure renderToReadableStream works correctly in the bundled server.js.
1 parent f4632f2 commit 8f78ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
mix deps.get
5151
5252
- name: Install JavaScript dependencies
53-
run: bun install react@18 react-dom@18 react-markdown remark-gfm
53+
run: bun install react@19 react-dom@19 react-markdown remark-gfm
5454

5555
- name: Run tests
5656
run: mix test

0 commit comments

Comments
 (0)