Merge pull request #108 from gcko/feature/add-nx-19 #225
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
NX_BRANCH: ${{ github.event.number || github.ref_name }} | |
jobs: | |
main: | |
name: Nx Cloud - Main Job | |
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.14.0 | |
secrets: | |
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
with: | |
node-version: 20 | |
main-branch-name: main | |
number-of-agents: 3 | |
parallel-commands-on-agents: | | |
npx nx affected -t lint --parallel --exclude koliveira15 | |
npx nx affected -t test --parallel --exclude koliveira15 | |
npx nx affected -t build --parallel --exclude koliveira15 | |
agents: | |
name: Nx Cloud - Agents | |
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.14.0 | |
secrets: | |
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
with: | |
node-version: 20 | |
number-of-agents: 3 |