Skip to content

Commit 241f26f

Browse files
authoredJul 6, 2024··
ci: Add pkg-pr-new previews (#5648)
1 parent 6a4a10d commit 241f26f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
 

‎.github/workflows/pr.yml

+14
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,17 @@ jobs:
3636
- name: Stop Nx Agents
3737
if: ${{ always() }}
3838
run: npx nx-cloud stop-all-agents
39+
preview:
40+
name: Preview
41+
runs-on: ubuntu-latest
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@v4
45+
with:
46+
fetch-depth: 0
47+
- name: Setup Tools
48+
uses: tanstack/config/.github/setup@main
49+
- name: Build Packages
50+
run: pnpm run build:all
51+
- name: Publish Previews
52+
run: pnpx pkg-pr-new publish --pnpm --compact './packages/*' --template './examples/*/*'

0 commit comments

Comments
 (0)
Please sign in to comment.