Skip to content

Commit

Permalink
ci: use concurrency in github workflows (#174)
Browse files Browse the repository at this point in the history
Co-authored-by: Nitin Kumar <[email protected]>
  • Loading branch information
ersachin3112 and snitin315 authored Apr 23, 2023
1 parent 4fc8c0e commit 54a8153
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:

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

concurrency:
group: lint-${{ matrix.os }}-v${{ matrix.node-version }}-${{ github.ref }}
cancel-in-progress: true

steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -63,6 +67,10 @@ jobs:

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

concurrency:
group: test-${{ matrix.os }}-v${{ matrix.node-version }}-${{ matrix.webpack-version }}-${{ github.ref }}
cancel-in-progress: true

steps:
- name: Setup Git
if: matrix.os == 'windows-latest'
Expand Down

0 comments on commit 54a8153

Please sign in to comment.