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 8c72b7c commit de2aed2Copy full SHA for de2aed2
.github/workflows/preview-release.yml
@@ -27,13 +27,14 @@ jobs:
27
run: pnpm install --frozen-lockfile
28
- name: Run Build
29
run: pnpm build
30
- - name: Find changed packages
31
- id: changed_packages
+ - name: Find changed files
+ id: changed_files
32
+ if: github.event_name == 'pull_request'
33
uses: tj-actions/changed-files@2036da178f85576f1940fedb74bb93a36cd89ab7
34
with:
- files: src/**
35
+ files: src/**,pnpm-lock.yaml
36
dir_names: true
37
dir_names_max_depth: 2
38
- name: Publish changed packages to pkg.pr.new
- if: steps.changed_packages.outputs.all_changed_and_modified_files != ''
39
+ if: github.event_name == 'push' || steps.changed_files.outputs.all_changed_and_modified_files != ''
40
run: pnpm dlx pkg-pr-new publish
0 commit comments