Skip to content

Commit

Permalink
ci(.github): revert cicd back to non-dte setup
Browse files Browse the repository at this point in the history
  • Loading branch information
waldronmatt committed Nov 3, 2023
1 parent 9db36a5 commit 95f1652
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 28 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

jobs:
agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3
secrets:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

setup:
runs-on: ubuntu-22.04
strategy:
Expand Down Expand Up @@ -58,10 +50,13 @@ jobs:
run: pnpm bootstrap:ci

run:
name: Build, Lint, Test using NX DTE
needs: setup
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3
parallel-commands-on-agents: |
npx nx affected -t build,lint,test --parallel=3
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18]
steps:
- name: NX Affected
uses: nrwl/nx-set-shas@v4
- name: Build, Lint, Test
run: npx nx affected -t build,lint,test --parallel=3
23 changes: 9 additions & 14 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

jobs:
agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3
secrets:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

setup:
runs-on: ubuntu-22.04
strategy:
Expand Down Expand Up @@ -59,13 +51,16 @@ jobs:
run: pnpm bootstrap:ci

run:
name: Build, Lint, Test using NX DTE
needs: setup
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3
parallel-commands-on-agents: |
npx nx affected -t build,lint,test --parallel=3
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18]
steps:
- name: NX Affected
uses: nrwl/nx-set-shas@v4
- name: Build, Lint, Test
run: npx nx affected -t build,lint,test --parallel=3

publish:
needs: run
Expand Down

0 comments on commit 95f1652

Please sign in to comment.