ci: fix nx.yml (#3086)

This commit is contained in:
Alex Yang
2023-07-07 13:37:40 +08:00
committed by GitHub
parent 5756bdf8d7
commit 152fbaabda

View File

@@ -34,11 +34,11 @@ jobs:
main-branch-name: master main-branch-name: master
number-of-agents: 5 number-of-agents: 5
init-commands: | init-commands: |
yarn exec nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3 yarn exec nx-cloud start-ci-run --stop-agents-after="build" --agent-count=5
environment-variables: | environment-variables: |
BUILD_TYPE=canary BUILD_TYPE=canary
parallel-commands: | # parallel-commands: |
yarn exec nx-cloud record -- yarn exec nx format:check # yarn exec nx-cloud record -- yarn exec nx format:check
parallel-commands-on-agents: | parallel-commands-on-agents: |
yarn exec nx affected --target=build --parallel=5 yarn exec nx affected --target=build --parallel=5
timeout: 60 timeout: 60