File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 56
56
uses : tanstack/config/.github/setup@main
57
57
- name : Build Packages
58
58
run : pnpm run build:all
59
+ - name : Get package dirs
60
+ # first excludes angular-query-experimental as it needs to be added via its build subpath
61
+ run : |
62
+ DIRS=$(find ./packages -mindepth 1 -maxdepth 1 -type d ! -name 'angular-query-experimental' | sed "s/.*/'&'/" | tr '\n' ' ')
63
+ echo "PACKAGE_DIRS=${DIRS}'./packages/angular-query-experimental/build'" >> $GITHUB_ENV
59
64
- name : Publish Previews
60
- run : pnpx pkg-pr-new publish --pnpm --compact './packages/!(angular-query-experimental)' './packages/angular-query-experimental/build' --template './examples/*/*'
65
+ run : pnpx pkg-pr-new publish --pnpm --compact $PACKAGE_DIRS --template './examples/*/*'
61
66
- name : Determine commit SHA
62
67
id : determine-sha
63
68
run : |
You can’t perform that action at this time.
0 commit comments