Skip to content

Commit

Permalink
update github workflow [wip]
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeytimoshin committed Oct 17, 2023
1 parent e9a0311 commit ad02e4d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
#concurrency:
# group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
# cancel-in-progress: true

jobs:
lint-build-test:
Expand All @@ -21,9 +21,9 @@ jobs:
working-directory: "."
pnpm-version: "8.8.0"
parallel-commands-on-agents: |
npx nx-cloud record -- npx nx affected --target=lint --parallel=3
npx nx-cloud record -- npx nx affected --target=build --parallel=3
npx nx-cloud record -- npx nx affected --target=test --parallel=3
npx nx-cloud record -- npx nx affected --target=lint --parallel=1
npx nx-cloud record -- npx nx affected --target=build --parallel=1
npx nx-cloud record -- npx nx affected --target=test --parallel=1
agents:
name: Nx Cloud - Agents
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/nx-agents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,10 @@ jobs:
with:
enable_redis: "true"

- name: Start Nx Agent ${{ matrix.agent }}
run: npx nx-cloud start-agent
env:
NX_AGENT_NAME: ${{matrix.agent}}
- name: Debugging with ssh
uses: lhotari/action-upterm@v1

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

0 comments on commit ad02e4d

Please sign in to comment.