chore(repo): move concurrency check and add debug logs (#30929)

Concurrency still isn't quite right
This commit is contained in:
Craigory Coppola 2025-04-29 17:10:32 -04:00 committed by GitHub
parent 6451f66492
commit 15d20f925c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,10 +8,6 @@ on:
branches: branches:
- "**" - "**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.event.type, 'push')}}
env: env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
@ -109,12 +105,24 @@ jobs:
main-macos: main-macos:
runs-on: macos-latest runs-on: macos-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.event_name, 'push')}}
env: env:
NX_E2E_CI_CACHE_KEY: e2e-github-macos NX_E2E_CI_CACHE_KEY: e2e-github-macos
NX_PERF_LOGGING: 'false' NX_PERF_LOGGING: 'false'
NX_CI_EXECUTION_ENV: 'macos' NX_CI_EXECUTION_ENV: 'macos'
SELECTED_PM: 'npm' SELECTED_PM: 'npm'
steps: steps:
- name: Log concurrency info
run: |
echo "Concurrency group: ${{ github.workflow }}-${{ github.ref }}"
echo "Concurrency cancel-in-progress: ${{ !contains(github.event_name, 'push') }}"
echo "Concurrency cancel-event-name: ${{ github.event_name }}"
if: always()
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with: