Skip to content

Commit

Permalink
chore: set up preview release with pkg.pr.new (#6547)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby authored Aug 29, 2024
1 parent e476dda commit 5bd6d91
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/packages-preview-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Packages preview release"
on:
push:
paths:
- "ui/packages/**"
branches:
- main
pull_request:
paths:
- "ui/packages/**"
branches:
- main
jobs:
packages-preview-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Environment
uses: ./.github/actions/setup-env

- name: Install Dependencies
run: ./gradlew pnpmInstall

- name: Build Packages
run: cd ui && pnpm build:packages

- name: Release
run: cd ui && pnpx pkg-pr-new publish --compact --pnpm './packages/*'

0 comments on commit 5bd6d91

Please sign in to comment.