Skip to content

Commit

Permalink
ci(.github): fix broekn cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
waldronmatt committed Nov 3, 2023
1 parent a6c4c28 commit 51f1477
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,17 @@ jobs:
- name: Install dependencies
run: pnpm bootstrap:ci

- name: NX Affected
uses: nrwl/nx-set-shas@v4

- name: Build, Lint, Test using Distributed Task Execution
- name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3
parallel-commands: |
npx nx-cloud record -- npx nx format:check
parallel-commands-on-agents: |
npx nx affected -t build,lint,test --parallel=3
npx nx affected -t lint,test,build --parallel=3
agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3
15 changes: 10 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,14 @@ jobs:
- name: Install dependencies
run: pnpm bootstrap:ci

- name: NX Affected
uses: nrwl/nx-set-shas@v4

- name: Build, Lint, Test using Distributed Task Execution
- name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3
parallel-commands: |
npx nx-cloud record -- npx nx format:check
parallel-commands-on-agents: |
npx nx affected -t build,lint,test --parallel=3
npx nx affected -t lint,test,build --parallel=3
- name: Config Git User
run: |
Expand All @@ -77,3 +76,9 @@ jobs:
- name: Publish Packages
run: |
pnpm publish:ci
agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3

0 comments on commit 51f1477

Please sign in to comment.