Skip to content

Commit

Permalink
fix: enable continuous releases
Browse files Browse the repository at this point in the history
  • Loading branch information
underfin committed Oct 17, 2024
1 parent 484d3cf commit 2e11073
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ env:

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -82,6 +80,9 @@ jobs:
- name: Test build
run: pnpm run test-build

- name: Continuous Releases
run: pnpx pkg-pr-new publish

lint:
if: github.repository == 'vitejs/vite-plugin-react'
timeout-minutes: 10
Expand Down Expand Up @@ -115,3 +116,28 @@ jobs:

- name: Typecheck
run: pnpm run typecheck

Continuous Releases:
timeout-minutes: 20
name: "Continuous Releases"
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/[email protected]

- name: Set node version to 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: Install deps
run: pnpm install

- name: Build
run: pnpm run build

- name: Continuous Releases
run: pnpx pkg-pr-new publish --pnpm ./packages/plugin-react
2 changes: 1 addition & 1 deletion packages/plugin-react/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@vitejs/plugin-react",
"name": "rolldown-vite-plugin-react",
"version": "4.3.2",
"license": "MIT",
"author": "Evan You",
Expand Down

0 comments on commit 2e11073

Please sign in to comment.