diff --git a/.github/workflows/test-client.yml b/.github/workflows/test-client.yml index afb36357e..aa891e248 100644 --- a/.github/workflows/test-client.yml +++ b/.github/workflows/test-client.yml @@ -13,7 +13,9 @@ jobs: strategy: matrix: node-version: [18.x] - + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index baebdbbda..1c44b846e 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -13,7 +13,9 @@ jobs: strategy: matrix: node-version: [18.x] - + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/test-electron.yml b/.github/workflows/test-electron.yml index d0a813889..94c6926f9 100644 --- a/.github/workflows/test-electron.yml +++ b/.github/workflows/test-electron.yml @@ -13,7 +13,9 @@ jobs: strategy: matrix: node-version: [18.x] - + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/test-shared.yml b/.github/workflows/test-shared.yml index 147bf1a62..afe59ad24 100644 --- a/.github/workflows/test-shared.yml +++ b/.github/workflows/test-shared.yml @@ -13,7 +13,9 @@ jobs: strategy: matrix: node-version: [18.x] - + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }}