Skip to content

Commit e078b07

Browse files
authored
ci: use concurrency in github workflows (webpack-contrib#203)
1 parent 7e5afc1 commit e078b07

File tree

2 files changed

+8
-23
lines changed

2 files changed

+8
-23
lines changed

.github/workflows/cancel.yml

-23
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:
@@ -61,6 +65,10 @@ jobs:
6165

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

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

0 commit comments

Comments
 (0)