File tree Expand file tree Collapse file tree 1 file changed +21
-20
lines changed Expand file tree Collapse file tree 1 file changed +21
-20
lines changed Original file line number Diff line number Diff line change @@ -11,32 +11,33 @@ permissions: {}
1111
1212jobs :
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
You can’t perform that action at this time.
0 commit comments