Skip to content

Commit 7419c8b

Browse files
committed
ci: overwrite release-continuous.yml
1 parent e0fbdef commit 7419c8b

File tree

2 files changed

+73
-42
lines changed

2 files changed

+73
-42
lines changed

.github/workflows/nightly.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- 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
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
1515

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
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
2323

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
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
3131

32-
- run: |
33-
pnpx pkg-pr-new publish --comment=off \
34-
packages/plugin-rsc-canary \
35-
packages/plugin-rsc-experimental \
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: 49 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,59 @@ permissions: {}
1111

1212
jobs:
1313
preview:
14-
if: >
15-
github.repository == 'vitejs/vite-plugin-react' &&
16-
(github.event_name == 'push' ||
17-
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'trigger: preview')))
18-
runs-on: ubuntu-latest
19-
steps:
20-
- name: Checkout code
21-
uses: actions/checkout@v4
14+
# if: >
15+
# github.repository == 'vitejs/vite-plugin-react' &&
16+
# (github.event_name == 'push' ||
17+
# (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'trigger: preview')))
18+
# runs-on: ubuntu-latest
19+
# steps:
20+
# - name: Checkout code
21+
# uses: actions/checkout@v4
22+
23+
# - name: Install pnpm
24+
# uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
25+
26+
# - uses: actions/setup-node@v4
27+
# with:
28+
# node-version: lts/*
29+
# cache: pnpm
2230

23-
- name: Install pnpm
24-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
31+
# - name: Install dependencies
32+
# run: pnpm install
2533

34+
# - name: Build
35+
# run: pnpm build
36+
37+
# - name: Publish
38+
# run: pnpm dlx [email protected] publish --pnpm --compact './packages/*' './packages/plugin-react-swc/dist'
39+
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/checkout@v4
2643
- uses: actions/setup-node@v4
2744
with:
28-
node-version: lts/*
29-
cache: pnpm
45+
node-version: 22
46+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
47+
- run: pnpm i
48+
- run: pnpm build
3049

31-
- name: Install dependencies
32-
run: pnpm install
50+
# canary
51+
- run: |
52+
pnpm -C packages/plugin-rsc i react-server-dom-webpack@canary
53+
pnpm i --no-frozen-lockfile
54+
pnpm -C packages/plugin-rsc build
55+
cp -rf packages/plugin-rsc packages/plugin-rsc-canary
56+
sed -i 's#"name": "@vitejs/plugin-rsc"#"name": "@vitejs/plugin-rsc-canary"#' packages/plugin-rsc-canary/package.json
3357
34-
- name: Build
35-
run: pnpm build
58+
# experimental
59+
- run: |
60+
pnpm -C packages/plugin-rsc i react-server-dom-webpack@experimental
61+
pnpm i --no-frozen-lockfile
62+
pnpm -C packages/plugin-rsc build
63+
cp -rf packages/plugin-rsc packages/plugin-rsc-experimental
64+
sed -i 's#"name": "@vitejs/plugin-rsc"#"name": "@vitejs/plugin-rsc-experimental"#' packages/plugin-rsc-experimental/package.json
3665
37-
- name: Publish
38-
run: pnpm dlx [email protected] publish --pnpm --compact './packages/*' './packages/plugin-react-swc/dist'
66+
- run: |
67+
pnpx pkg-pr-new publish --comment=off \
68+
packages/plugin-rsc-canary \
69+
packages/plugin-rsc-experimental \

0 commit comments

Comments
 (0)