Skip to content

Commit c82bcc8

Browse files
committed
ci: cleanup
1 parent 7419c8b commit c82bcc8

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

.github/workflows/release-continuous.yml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,33 @@ 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
2222

23-
# - name: Install pnpm
24-
# uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
23+
- name: Install pnpm
24+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2525

26-
# - uses: actions/setup-node@v4
27-
# with:
28-
# node-version: lts/*
29-
# cache: pnpm
26+
- uses: actions/setup-node@v4
27+
with:
28+
node-version: lts/*
29+
cache: pnpm
3030

31-
# - name: Install dependencies
32-
# run: pnpm install
31+
- name: Install dependencies
32+
run: pnpm install
3333

34-
# - name: Build
35-
# run: pnpm build
34+
- name: Build
35+
run: pnpm build
3636

37-
# - name: Publish
38-
# run: pnpm dlx [email protected] publish --pnpm --compact './packages/*' './packages/plugin-react-swc/dist'
37+
- name: Publish
38+
run: pnpm dlx [email protected] publish --pnpm --compact './packages/*' './packages/plugin-react-swc/dist'
3939

40+
nightly:
4041
runs-on: ubuntu-latest
4142
steps:
4243
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)