Skip to content

Commit 4f90cd9

Browse files
authored
ci: use concurrency in github workflows (#1435)
1 parent 7ba1039 commit 4f90cd9

File tree

2 files changed

+7
-26
lines changed

2 files changed

+7
-26
lines changed

.github/workflows/cancel.yml

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

.github/workflows/nodejs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ 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
3033
steps:
3134
- uses: actions/checkout@v3
3235
with:
@@ -67,6 +70,10 @@ jobs:
6770

6871
runs-on: ${{ matrix.os }}
6972

73+
concurrency:
74+
group: test-${{ matrix.os }}-v${{ matrix.node-version }}-${{ matrix.webpack-version }}-${{ github.ref }}
75+
cancel-in-progress: true
76+
7077
steps:
7178
- uses: actions/checkout@v3
7279

0 commit comments

Comments
 (0)