Skip to content

Publish Preview Release #120

Publish Preview Release

Publish Preview Release #120

name: Publish Preview Release
on:
pull_request_review:
types: [submitted]
jobs:
approved:
if: github.event.review.state == 'APPROVED'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: npx turbo run build
- run: pnpx pkg-pr-new publish './packages/*'