Skip to content

Commit 398945b

Browse files
committed
ci: keep preview workflow local
1 parent f544b8b commit 398945b

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

.github/workflows/pr.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ jobs:
3838
- name: Start Nx Agents
3939
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/agents.yaml" --require-explicit-completion
4040
- name: Run Checks
41-
run: |
42-
pnpm nx record -- pnpm exec tsc --noEmit
43-
pnpm nx affected --targets=test:eslint,test:sherif,test:knip,test:docs,test:lib,test:types,build --exclude='examples/**'
41+
run: pnpm run test:pr
4442
- name: Complete Nx Agents
4543
if: ${{ always() }}
4644
run: npx nx-cloud complete-ci-run
@@ -56,12 +54,7 @@ jobs:
5654
persist-credentials: false
5755
- name: Setup Tools
5856
uses: TanStack/config/.github/setup@b313637fa7d314532b98638f6b57b7b9c169d390 # main
59-
- name: Start Nx Agents
60-
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/agents.yaml" --require-explicit-completion
6157
- name: Build Packages
62-
run: pnpm nx run-many --targets=build --exclude='examples/**'
58+
run: pnpm run build:all
6359
- name: Publish Previews
6460
run: pnpx pkg-pr-new publish --pnpm './packages/*'
65-
- name: Complete Nx Agents
66-
if: ${{ always() }}
67-
run: npx nx-cloud complete-ci-run

0 commit comments

Comments
 (0)