Skip to content

Merge pull request #4079 from activepieces/fix/flow-run #1

Merge pull request #4079 from activepieces/fix/flow-run

Merge pull request #4079 from activepieces/fix/flow-run #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,server-api --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