Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

pr.yml

42 lines873 Bytes

1name: PR
2​
3on:
4 pull_request:
5​
6concurrency:
7 group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
8 cancel-in-progress: true
9​
10env:
11 NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
12​
13permissions:
14 contents: read
15​
16jobs:
17 test:
18 name: Test
19 runs-on: ubuntu-latest
20 steps:
21 - name: Checkout
22 uses: actions/checkout@v6.0.1
23 with:
24 fetch-depth: 0
25 - name: Setup Tools
26 uses: tanstack/config/.github/setup@main
27 - name: Build
28 run: pnpm build
29 - name: Test
30 run: pnpm test
31 provenance:
32 name: Provenance
33 runs-on: ubuntu-latest
34 steps:
35 - name: Checkout
36 uses: actions/checkout@v6.0.1
37 with:
38 fetch-depth: 0
39 - name: Check Provenance
40 uses: danielroe/provenance-action@v0.1.1
41 with:
42 fail-on-downgrade: true