Skip to content

Commit 1f86064

Browse files
committed
chore: react nightly
1 parent 0318334 commit 1f86064

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

.github/workflows/release-continuous.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,35 @@ jobs:
3636

3737
- name: Publish
3838
run: pnpm dlx [email protected] publish --pnpm --compact './packages/*' './packages/plugin-react-swc/dist'
39+
40+
nightly:
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/checkout@v4
44+
- uses: actions/setup-node@v4
45+
with:
46+
node-version: 22
47+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
48+
- run: pnpm i
49+
- run: pnpm build
50+
51+
# canary
52+
- run: |
53+
pnpm -C packages/plugin-rsc i react-server-dom-webpack@canary
54+
pnpm i --no-frozen-lockfile
55+
pnpm -C packages/plugin-rsc build
56+
cp -rf packages/plugin-rsc packages/plugin-rsc-canary
57+
sed -i 's#"name": "@vitejs/plugin-rsc"#"name": "@vitejs/plugin-rsc-canary"#' packages/plugin-rsc-canary/package.json
58+
59+
# experimental
60+
- run: |
61+
pnpm -C packages/plugin-rsc i react-server-dom-webpack@experimental
62+
pnpm i --no-frozen-lockfile
63+
pnpm -C packages/plugin-rsc build
64+
cp -rf packages/plugin-rsc packages/plugin-rsc-experimental
65+
sed -i 's#"name": "@vitejs/plugin-rsc"#"name": "@vitejs/plugin-rsc-experimental"#' packages/plugin-rsc-experimental/package.json
66+
67+
- run: |
68+
pnpx pkg-pr-new publish --comment=off \
69+
packages/plugin-rsc-canary \
70+
packages/plugin-rsc-experimental \

packages/plugin-rsc/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
"tsc": "tsc -b ./tsconfig.json ./e2e/tsconfig.json ./examples/*/tsconfig.json",
3535
"tsc-dev": "pnpm tsc --watch --preserveWatchOutput",
3636
"dev": "tsdown --sourcemap --watch src",
37-
"build": "tsdown",
38-
"prepack": "tsdown --clean"
37+
"build": "tsdown"
3938
},
4039
"dependencies": {
4140
"@mjackson/node-fetch-server": "^0.6.1",

0 commit comments

Comments
 (0)