Skip to content
Merged
Changes from 1 commit
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
7 changes: 4 additions & 3 deletions .github/workflows/preview-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Run Build
run: pnpm build
- name: Find changed packages
id: changed_packages
- name: Find changed files
id: changed_files
if: github.event_name == 'pull_request'
uses: tj-actions/changed-files@2036da178f85576f1940fedb74bb93a36cd89ab7
with:
files: src/**
dir_names: true
dir_names_max_depth: 2
- name: Publish changed packages to pkg.pr.new
if: steps.changed_packages.outputs.all_changed_and_modified_files != ''
if: github.event_name == 'push' || steps.changed_files.outputs.all_changed_and_modified_files != ''
run: pnpm dlx pkg-pr-new publish