File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,14 @@ jobs:
2727 run : pnpm install --frozen-lockfile
2828 - name : Run Build
2929 run : pnpm build
30- - name : Find changed packages
31- id : changed_packages
32- uses : tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c
30+ - name : Find changed files
31+ id : changed_files
32+ if : github.event_name == 'pull_request'
33+ uses : tj-actions/changed-files@2036da178f85576f1940fedb74bb93a36cd89ab7
3334 with :
34- files : src/**
35+ files : src/**,pnpm-lock.yaml
3536 dir_names : true
3637 dir_names_max_depth : 2
3738 - name : Publish changed packages to pkg.pr.new
38- 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 != ''
3940 run : pnpm dlx pkg-pr-new publish
You can’t perform that action at this time.
0 commit comments