Skip to content

Commit

Permalink
ci: use concurrency in github workflows (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
ersachin3112 committed Jan 22, 2023
1 parent 7cb73c6 commit b2cc7e2
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 @@ -61,6 +65,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 b2cc7e2

Please sign in to comment.