Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 3b726f3

Browse files
authored
ci: use concurrency in github workflows (#108)
1 parent 2974358 commit 3b726f3

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

6569
runs-on: ${{ matrix.os }}
6670

71+
concurrency:
72+
group: test-${{ matrix.os }}-v${{ matrix.node-version }}-${{ matrix.webpack-version }}-${{ github.ref }}
73+
cancel-in-progress: true
74+
6775
steps:
6876
- name: Setup Git
6977
if: matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)