Skip to content

Commit

Permalink
ci: update preview release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <[email protected]>
  • Loading branch information
mcansh committed Sep 19, 2024
1 parent ae53f40 commit aa7ddcc
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Publish Approved Pull Requests
name: 🚀 Release (preview)
on:
pull_request_review:
types: [submitted]
push:
branches: [main]
tags:
- "!**"
pull_request:
branches: [main]

jobs:
approved:
if: github.event.review.state == 'APPROVED'
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -34,4 +37,4 @@ jobs:
echo "publish-branch=$(git branch --show-current)" >> ~/.npmrc
- name: 🚀 Publish PR
run: pkg-pr-new publish
run: pkg-pr-new publish --compact './packages/*' --template './examples/*'

0 comments on commit aa7ddcc

Please sign in to comment.