Skip to content
Source
Sign inSign up
TanStack/intent

ci: migrate workflows to nx agents #196

Openbeaussan(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromcodex/nx-agents-workflow-migrationopened

Showing 2 changed files with 7 additions and 0 deletions.

x
0 of 2 viewed, 2 left
6 additions and 0 deletions.github/workflows/pr.ymlModified
View file
@@ -13,6 +13,7 @@
​
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
+ NX_CLOUD_CONTINUOUS_ASSIGNMENT: true
​
permissions:
contents: read
@@ -34,8 +35,13 @@
uses: nrwl/nx-set-shas@3e9ad7370203c1e93d109be57f3b72eb0eb511b1 # v4.4.0
with:
main-branch-name: main
+ - name: Start Nx Agents
+ run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml" --require-explicit-completion
- name: Run Checks
run: pnpm run test:pr
+ - name: Complete Nx Agents
+ if: ${{ always() }}
+ run: npx nx-cloud complete-ci-run
preview:
name: Preview
runs-on: ubuntu-latest
1 addition and 0 deletionsnx.jsonModified
View file
@@ -1,4 +1,5 @@
{
+ "buest": "agent-test-1",
"$schema": "./node_modules/nx/schemas/nx-schema.json",