Skip to content

feat: allow retrieving platform info using API key #133

feat: allow retrieving platform info using API key

feat: allow retrieving platform info using API key #133

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