From 2fe1527bea4293c6fdcc484afeb8410be4deaa9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20J=C3=B3nsson?= Date: Fri, 10 Nov 2023 19:46:08 +0000 Subject: [PATCH 1/2] Use GitHub actions concurrency to cancel in progress workflows on PRs (#1232) --- .github/workflows/test.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7f81e0088..f2fee2f8d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,13 +1,16 @@ name: test on: pull_request + +# Cancel in progress workflows on pull_requests. +# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: test: runs-on: ubuntu-latest steps: - - name: Cancel running workflows - uses: styfle/cancel-workflow-action@0.12.0 - with: - access_token: ${{ github.token }} - name: Checkout repo uses: actions/checkout@v4 - name: Set node version From 3a18f9a0986db76e2d300a80466276a1040687b1 Mon Sep 17 00:00:00 2001 From: Alberto Benatti Date: Wed, 15 Nov 2023 15:48:11 +0100 Subject: [PATCH 2/2] Update next.js version to 14 inside README.md (#1243) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2623a7a4c..981685d2b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # Next.js Commerce -A Next.js 13 and App Router-ready ecommerce template featuring: +A Next.js 14 and App Router-ready ecommerce template featuring: - Next.js App Router - Optimized for SEO using Next.js's Metadata