Skip to content

Commit ab45903

Browse files
ci: use concurrency in github workflows (#319)
Co-authored-by: Ricardo Gobbo de Souza <ricardogobbosouza@yahoo.com.br>
1 parent 87c0e2d commit ab45903

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

.github/workflows/cancel.yml

-15
This file was deleted.

.github/workflows/nodejs.yml

+8
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727

2828
runs-on: ${{ matrix.os }}
2929

30+
concurrency:
31+
group: lint-${{ matrix.os }}-v${{ matrix.node-version }}-${{ github.ref }}
32+
cancel-in-progress: true
33+
3034
steps:
3135
- uses: actions/checkout@v3
3236
with:
@@ -62,6 +66,10 @@ jobs:
6266

6367
runs-on: ${{ matrix.os }}
6468

69+
concurrency:
70+
group: test-${{ matrix.os }}-v${{ matrix.node-version }}-${{ matrix.stylelint-version }}-${{ matrix.webpack-version }}-${{ github.ref }}
71+
cancel-in-progress: true
72+
6573
steps:
6674
- name: Setup Git
6775
if: matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)