From 43f7ccccaee0ce0633317a271fd68c9c10a0978e Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sat, 10 Sep 2022 13:44:48 +0200 Subject: [PATCH] chore: add concurrency to GH Actions --- .github/workflows/nodejs.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 003220ce0..5ed0236cc 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -10,6 +10,10 @@ on: - main - next +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: prepare-yarn-cache-ubuntu: uses: ./.github/workflows/prepare-cache.yml