Skip to content

Commit

Permalink
chore: ci updates (#3522)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Feb 2, 2023
1 parent 70de43c commit b8dff21
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Expand Up @@ -40,17 +40,15 @@ jobs:
- name: Install primary node version (see volta config in package.json) and dependencies
uses: ./.github/actions/install-node-and-dependencies

- run: npx nx run-many -t build --parallel=3 --no-dte --skip-nx-cache

- name: Run parallel distributed tasks
uses: jameshenry/parallel-bash-commands@v1
with:
cmd1: npx nx-cloud record -- npx nx format:check
cmd2: npx nx-cloud record -- npx nx workspace-lint
# cmd3: npx nx run-many -t build --parallel=3
cmd3: npx nx run-many -t lint --parallel=3
cmd4: npx nx run-many -t test --parallel=3 --ci --maxWorkers=2
cmd5: npx nx run integration:integration --ci --maxWorkers=2
cmd3: npx nx run-many -t build --parallel=3
cmd4: npx nx run-many -t lint --parallel=3
cmd5: npx nx run-many -t test --parallel=3 --ci --maxWorkers=2
cmd6: npx nx run integration:integration --ci --maxWorkers=2

# e2e tests for everything except the primary task runner
- run: PUBLISHED_VERSION=999.9.9-e2e.0 npx nx run-many --t e2e --parallel=1
Expand Down Expand Up @@ -160,8 +158,6 @@ jobs:
- name: Install primary node version (see volta config in package.json) and dependencies
uses: ./.github/actions/install-node-and-dependencies

- run: npx nx reset

- name: Start Nx Agent ${{ matrix.agent }}
run: npx nx-cloud start-agent
env:
Expand Down

0 comments on commit b8dff21

Please sign in to comment.