Skip to content

Publish Approved Pull Requests #10

Publish Approved Pull Requests

Publish Approved Pull Requests #10

Workflow file for this run

name: Publish Approved Pull Requests
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: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- run: pnpx pkg-pr-new publish './packages/*'