Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
name: Preview Release

on:
pull_request:
types: [closed]
push:
branches: [main]
workflow_dispatch:

permissions:
contents: read

jobs:
preview:
if: github.repository == 'web-infra-dev/rslib' && github.event.pull_request.merged == true
if: github.repository == 'web-infra-dev/rslib'
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -46,4 +46,4 @@ jobs:

- name: Publish Preview
if: steps.changes.outputs.changed == 'true'
run: pnpx pkg-pr-new publish --compact --pnpm
run: pnpx pkg-pr-new publish --compact --pnpm ./packages/*
Loading