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.
1 parent 956119c commit 3b76254Copy full SHA for 3b76254
.github/workflows/preview.yml
@@ -2,16 +2,16 @@
2
name: Preview Release
3
4
on:
5
- pull_request:
6
- types: [closed]
+ push:
+ branches: [main]
7
workflow_dispatch:
8
9
permissions:
10
contents: read
11
12
jobs:
13
preview:
14
- if: github.repository == 'web-infra-dev/rslib' && github.event.pull_request.merged == true
+ if: github.repository == 'web-infra-dev/rslib'
15
runs-on: ubuntu-latest
16
17
steps:
@@ -46,4 +46,4 @@ jobs:
46
47
- name: Publish Preview
48
if: steps.changes.outputs.changed == 'true'
49
- run: pnpx pkg-pr-new publish --compact --pnpm
+ run: pnpx pkg-pr-new publish --compact --pnpm ./packages/*
0 commit comments