mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
ci: cancel running node.js tests when the branch is updated
Do not waste CI time running the tests for previous commit.
This commit is contained in:
7
.github/workflows/node-tests.yml
vendored
7
.github/workflows/node-tests.yml
vendored
@@ -1,4 +1,11 @@
|
|||||||
name: "node.js tests"
|
name: "node.js tests"
|
||||||
|
|
||||||
|
# Cancel previously started workflow runs
|
||||||
|
# when the branch is updated.
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
|
|||||||
Reference in New Issue
Block a user