Skip to content

Commit

Permalink
ci: use concurrency in github workflows (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
ersachin3112 authored Jan 21, 2023
1 parent 5289f28 commit a5d9997
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/cancel.yml

This file was deleted.

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 @@ -67,6 +71,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 a5d9997

Please sign in to comment.