Skip to content

Commit

Permalink
chore: pkg-pr-new を用いたプレビューリリースの導入 (#4896)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-sasaki-0529 authored Sep 12, 2024
1 parent 8b9f611 commit af94c44
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/previewRelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Preview Release

on:
pull_request:
types: [opened, reopened, synchronize]

jobs:
previewRelease:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: install dependencies
run: |
corepack enable
corepack prepare
pnpm ui install
- name: Build
run: pnpm ui build
- run: pnpx pkg-pr-new publish packages/smarthr-ui

0 comments on commit af94c44

Please sign in to comment.