update nx to version 16.5.1 #101
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pull request checks | |
on: | |
pull_request: | |
branches: | |
- trunk | |
concurrency: | |
group: dte-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
main: | |
name: Nx Cloud - Main Job | |
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.11.2 | |
with: | |
number-of-agents: 3 | |
main-branch-name: trunk | |
init-commands: | | |
npx nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3 | |
parallel-commands: | | |
npx nx-cloud record -- npx nx workspace-lint | |
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 | |
npx nx affected --target=e2e --parallel=3 --ci | |
artifacts-path: dist/apps | |
artifacts-name: affected-apps | |
agents: | |
name: Nx Cloud - Agents | |
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.11.2 | |
with: | |
number-of-agents: 3 |