build: update build config (#2967)

This commit is contained in:
Alex Yang
2023-07-03 14:17:13 +08:00
committed by GitHub
parent 63517e4912
commit 467eab4ddf
5 changed files with 12 additions and 9 deletions

View File

@@ -30,17 +30,25 @@ jobs:
name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13.0
with:
runs-on: macos-latest
main-branch-name: master
number-of-agents: 5
init-commands: |
yarn exec nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3
environment-variables: |
BUILD_TYPE=canary
parallel-commands: |
yarn exec nx-cloud record -- yarn exec nx format:check
parallel-commands-on-agents: |
yarn exec nx affected --target=build --parallel=5
timeout: 60
agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.13.0
with:
runs-on: macos-latest
number-of-agents: 5
environment-variables: |
BUILD_TYPE=canary
timeout: 60