We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a6839b commit 0a68467Copy full SHA for 0a68467
.github/workflows/preview.yml
@@ -0,0 +1,27 @@
1
+name: preview
2
+
3
+on:
4
+ pull_request_review:
5
+ types: [submitted]
6
7
+concurrency:
8
+ group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
9
+ cancel-in-progress: true
10
11
+env:
12
+ NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
13
14
+jobs:
15
+ preview:
16
+ name: Preview
17
+ if: github.event.review.state == 'APPROVED'
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: Checkout
21
+ uses: actions/checkout@v4
22
+ with:
23
+ fetch-depth: 0
24
+ - name: Setup Tools
25
+ uses: tanstack/config/.github/setup@main
26
+ - name: Publish Previews
27
+ run: pnpx pkg-pr-new publish --no-template --compact ./packages/*
0 commit comments