-
-
Save lydemann/f57da4369d214213a32416389b8f2346 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
env: | |
# Node.js | |
NODE_OPTIONS: --max-old-space-size=6144 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
jobs: | |
main: | |
name: Nx cloud - Main Job | |
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.6 | |
with: | |
number-of-agents: 8 | |
init-commands: | | |
yarn nx-cloud start-ci-run --stop-agents-after="e2e" --agent-count=8 | |
parallel-commands: | | |
yarn nx-cloud record -- yarn nx workspace-lint | |
yarn nx-cloud record -- yarn nx format:check | |
parallel-commands-on-agents: | | |
yarn nx affected --target=lint --parallel=2 | |
yarn nx affected --target=test --parallel-2 --ci --code-coverage | |
yarn nx affected --target=build --parallel=2 | |
yarn nx affected --target=e2e --parallel=1 | |
agents: | |
name: Nx Cloud - Agents | |
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.6 | |
with: | |
number-of-agents: 8 |
@lydemann
issue: change end task to e2e
since we introduced it
yarn nx-cloud start-ci-run --stop-agents-after="e2e" --agent-count=8
Updated @LayZeeDK
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@lydemann
issue: correct to
nx-cloud start-ci-run
yarn nx-cloud start-ci-run --stop-agents-after="build" --agent-count=8