Skip to content

Commit 43c42c4

Browse files
authored
ci: use concurrency in github workflows (#199)
1 parent 3d67c8f commit 43c42c4

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:
@@ -60,6 +64,10 @@ jobs:
6064

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

67+
concurrency:
68+
group: test-${{ matrix.os }}-v${{ matrix.node-version }}-${{ github.ref }}
69+
cancel-in-progress: true
70+
6371
steps:
6472
- uses: actions/checkout@v3
6573

0 commit comments

Comments
 (0)