Skip to content

Commit a7159a7

Browse files
authored
feat(ci): trigger preview release on master push (#425)
This allows pkg.pr.new packages to be published when commits are merged to master, not just for pull requests. This enables consumers to use the latest master branch packages via pkg.pr.new without waiting for an official npm release. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated CI/CD workflow configuration to enhance deployment automation. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2 parents a62a9c3 + b95f2a7 commit a7159a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish-preview.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Publish Preview
22

33
on:
44
pull_request:
5+
push:
6+
branches:
7+
- master
58
workflow_dispatch:
69

710
env:

0 commit comments

Comments
 (0)