Skip to content

export

export #1074

name: party-time-pipeline
on:
push:
branches:
- '**'
pull_request:
jobs:
main:
name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/[email protected]
with:
main-branch-name: main
number-of-agents: 4
init-commands: |
npx nx-cloud start-ci-run --stop-agents-after="build" --agent-count=4
parallel-commands: |
npx nx-cloud record -- npx nx format:check
parallel-commands-on-agents: |
npx nx affected --target=lint --parallel=4
npx nx affected --target=test --parallel=4 --ci --code-coverage
npx nx affected --target=build --parallel=4
npx nx affected --target=e2e --parallel=4 --ci
agents:
name: Nx Cloud - Agents
uses: ./.github/workflows/nx-cloud-agents.yml
with:
number-of-agents: 4