Skip to content

Commit 32244b2

Browse files
authored
ci: setup vite rsc canary/experimental test (#1583)
- Closes #1581 This PR adds `@vitejs/plugin-rsc` installation overrides for canary/experimental CI run. The packages are from vitejs/vite-plugin-react#524, which uses pkg.pr.new. By specifying that PR's pr number `@524`, it will install the latest canary/experimental build.
1 parent 6336f50 commit 32244b2

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ jobs:
9696
- if: ${{ inputs.react_version }}
9797
run: |
9898
pnpm -r update react@${{ inputs.react_version }} react-dom@${{ inputs.react_version }} react-server-dom-webpack@${{ inputs.react_version }}
99+
# overrides canary/experimental build from https://github.com/vitejs/vite-plugin-react/pull/524
100+
if [ "${{ inputs.react_version }}" = "canary" ]; then
101+
pnpm -r update @vitejs/plugin-rsc@https://pkg.pr.new/vitejs/vite-plugin-react/@vitejs/plugin-rsc-canary@524
102+
fi
103+
if [ "${{ inputs.react_version }}" = "experimental" ]; then
104+
pnpm -r update @vitejs/plugin-rsc@https://pkg.pr.new/vitejs/vite-plugin-react/@vitejs/plugin-rsc-experimental@524
105+
fi
99106
- run: pnpm install
100107
- uses: actions/download-artifact@v4
101108
with:

e2e/fixtures/monorepo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
],
77
"dependencies": {
88
"react": "19.1.1",
9-
"react-dom": "19.1.1"
9+
"react-dom": "19.1.1",
10+
"waku": "latest"
1011
}
1112
}

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)