diff --git a/.github/workflows/bp-devtools-ci.yml b/.github/workflows/bp-devtools-ci.yml index efa37f7..4b0c51a 100644 --- a/.github/workflows/bp-devtools-ci.yml +++ b/.github/workflows/bp-devtools-ci.yml @@ -1,31 +1,33 @@ name: BP DEVTOOLS CI on: - workflow_dispatch: - push: - branches: - - main - pull_request: + workflow_dispatch: + push: + branches: + - main + pull_request: jobs: - main: - name: Nx Cloud - Main Job - uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13.0 - with: - main-branch-name: main - number-of-agents: 3 - init-commands: | - npx nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3 - parallel-commands: | - npx nx-cloud record -- npx nx format:check - parallel-commands-on-agents: | - npx nx affected --target=lint --parallel=3 - npx nx affected --target=test --parallel=3 --ci --code-coverage - npx nx affected --target=build --parallel=3 + main: + name: Nx Cloud - Main Job + uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13.0 + with: + main-branch-name: main + number-of-agents: 3 + init-commands: | + npx nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3 + parallel-commands: | + npx nx-cloud record -- npx nx format:check + parallel-commands-on-agents: | + npx nx affected --target=lint --parallel=3 + npx nx affected --target=test --parallel=3 --ci --code-coverage + npx nx affected --target=build --parallel=3 - agents: - name: Nx Cloud - Agents - uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.13.0 - with: - number-of-agents: 3 + agents: + name: Nx Cloud - Agents + uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.13.0 + secrets: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + with: + number-of-agents: 3