Skip to content

Merge pull request #3615 from activepieces/chore/flow-update-cleanup #1

Merge pull request #3615 from activepieces/chore/flow-update-cleanup

Merge pull request #3615 from activepieces/chore/flow-update-cleanup #1

name: build-cloud-nx
on:
push:
branches:
- main
pull_request:
jobs:
main:
name: Nx Cloud - Main Job
secrets:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3
init-commands: |
npx nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3
parallel-commands-on-agents: |
npx nx affected --target=lint --parallel=3
npx nx affected --target=build -c production --parallel=3
npx nx run-many --target=test --projects=engine,shared,backend --parallel=3
agents:
name: Nx Cloud - Agents
secrets:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3