Skip to content

Commit 2bd615b

Browse files
github-actions[bot]hi-ogawa
authored andcommitted
ci: canary/experimental release
1 parent 624784c commit 2bd615b

File tree

3 files changed

+68
-2
lines changed

3 files changed

+68
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: nightly
2+
"on":
3+
push:
4+
jobs:
5+
publish:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
# - uses: actions/setup-node@v4
10+
# with:
11+
# node-version: 22
12+
# - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
13+
# - run: pnpm i
14+
# - run: pnpm build
15+
16+
# # canary
17+
# - run: |
18+
# pnpm -C packages/plugin-rsc i react-server-dom-webpack@canary
19+
# pnpm i --no-frozen-lockfile
20+
# pnpm -C packages/plugin-rsc build
21+
# cp -rf packages/plugin-rsc packages/plugin-rsc-canary
22+
# sed -i 's#"name": "@vitejs/plugin-rsc"#"name": "@vitejs/plugin-rsc-canary"#' packages/plugin-rsc-canary/package.json
23+
24+
# # experimental
25+
# - run: |
26+
# pnpm -C packages/plugin-rsc i react-server-dom-webpack@experimental
27+
# pnpm i --no-frozen-lockfile
28+
# pnpm -C packages/plugin-rsc build
29+
# cp -rf packages/plugin-rsc packages/plugin-rsc-experimental
30+
# sed -i 's#"name": "@vitejs/plugin-rsc"#"name": "@vitejs/plugin-rsc-experimental"#' packages/plugin-rsc-experimental/package.json
31+
32+
# - run: |
33+
# pnpx pkg-pr-new publish --comment=off \
34+
# packages/plugin-rsc-canary \
35+
# packages/plugin-rsc-experimental \

.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)