Skip to content

Commit 5e7ce4d

Browse files
authored
ci: use concurrency in github workflows (webpack-contrib#1012)
1 parent dec52de commit 5e7ce4d

File tree

2 files changed

+8
-23
lines changed

2 files changed

+8
-23
lines changed

.github/workflows/cancel.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/nodejs.yml

Lines changed: 8 additions & 0 deletions
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:
@@ -67,6 +71,10 @@ jobs:
6771

6872
runs-on: ${{ matrix.os }}
6973

74+
concurrency:
75+
group: test-${{ matrix.os }}-v${{ matrix.node-version }}-${{ matrix.webpack-version }}-${{ github.ref }}
76+
cancel-in-progress: true
77+
7078
steps:
7179
- name: Setup Git
7280
if: matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)