File tree Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 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 \
Original file line number Diff line number Diff line change 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",
You can’t perform that action at this time.
0 commit comments