From 5eca812ef2249fa08fd20d6b004ea6c37fa36f1e Mon Sep 17 00:00:00 2001 From: Sina Eftekhar Date: Thu, 3 Aug 2023 14:32:18 +0300 Subject: [PATCH] Add concurrency to the ci + update node-driver action --- .github/workflows/ci_suomifi.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_suomifi.yml b/.github/workflows/ci_suomifi.yml index 09fa6a0..35b1d81 100644 --- a/.github/workflows/ci_suomifi.yml +++ b/.github/workflows/ci_suomifi.yml @@ -13,6 +13,10 @@ env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} NODE_VERSION: 16.9.1 +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: main: name: Tests @@ -40,7 +44,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: bundler-cache: true - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: node-version: ${{ env.NODE_VERSION }} - name: Get npm cache directory path