Skip to content

Commit

Permalink
chore: cancel previous workflows (#80)
Browse files Browse the repository at this point in the history
## Motivation

<!-- List motivation and changes here -->

## Issues closed

<!-- List closed issues here -->
  • Loading branch information
pixelass committed Mar 16, 2024
1 parent c1a82a9 commit 78bddd9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-client.yml
Expand Up @@ -13,7 +13,9 @@ jobs:
strategy:
matrix:
node-version: [18.x]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-e2e.yml
Expand Up @@ -13,7 +13,9 @@ jobs:
strategy:
matrix:
node-version: [18.x]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-electron.yml
Expand Up @@ -13,7 +13,9 @@ jobs:
strategy:
matrix:
node-version: [18.x]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-shared.yml
Expand Up @@ -13,7 +13,9 @@ jobs:
strategy:
matrix:
node-version: [18.x]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down

0 comments on commit 78bddd9

Please sign in to comment.