We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6466ef4 + 75866bb commit 334b813Copy full SHA for 334b813
.github/workflows/handle-release-branch-push.yml
@@ -43,6 +43,27 @@ jobs:
43
- name: ${{ matrix.script.name }}
44
run: npm run ${{ matrix.script.command }}
45
46
+ preview:
47
+ name: 'Publish: Preview'
48
+ needs:
49
+ - verify
50
+ if: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' }}
51
+ runs-on: ubuntu-latest
52
+ steps:
53
+ - name: Checkout
54
+ uses: actions/checkout@v4
55
+ with:
56
+ fetch-depth: 0
57
+
58
+ - name: Setup project
59
+ uses: ./.github/actions/setup
60
61
+ - name: Build Project
62
+ run: npm run build
63
+ shell: bash
64
65
+ - name: Publish
66
+ run: npx pkg-pr-new@latest publish --no-template
67
publish:
68
name: 'Publish: Release'
69
needs:
0 commit comments