From 993504cbf94dbf3290b5e17e9864538a403d3095 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sat, 7 Jan 2023 19:02:31 +0100 Subject: [PATCH] refactor(workflows): use concurrency for publish action Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f0c6300f..bd76882f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,6 +8,10 @@ env: CI: true PNPM_CACHE_FOLDER: .pnpm-store +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} + cancel-in-progress: true + jobs: version: timeout-minutes: 15 @@ -17,7 +21,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [14] + node: [18] steps: - name: Checkout 🛎