From df52537e53cf5cdc358916c5f3dc659c9be9009c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 May 2024 00:13:01 +0000 Subject: [PATCH 1/3] Update supported GitHub Enterprise Server versions --- lib/api-compatibility.json | 2 +- src/api-compatibility.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/api-compatibility.json b/lib/api-compatibility.json index 3458d5c950..3b089e3e2d 100644 --- a/lib/api-compatibility.json +++ b/lib/api-compatibility.json @@ -1 +1 @@ -{ "maximumVersion": "3.13", "minimumVersion": "3.9" } +{ "maximumVersion": "3.14", "minimumVersion": "3.9" } diff --git a/src/api-compatibility.json b/src/api-compatibility.json index 890c05cc1d..6824bcb794 100644 --- a/src/api-compatibility.json +++ b/src/api-compatibility.json @@ -1 +1 @@ -{"maximumVersion": "3.13", "minimumVersion": "3.9"} +{"maximumVersion": "3.14", "minimumVersion": "3.9"} From 2838cede6828199cbf51e6b0d713be894f5961a2 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 11 Jun 2024 11:48:24 +0100 Subject: [PATCH 2/3] Add shebang to update Node modules script --- .github/workflows/script/update-node-modules.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/script/update-node-modules.sh b/.github/workflows/script/update-node-modules.sh index ff72f8e825..e59236d8aa 100755 --- a/.github/workflows/script/update-node-modules.sh +++ b/.github/workflows/script/update-node-modules.sh @@ -1,3 +1,6 @@ +#!/bin/bash +set -eu + if [ "$1" != "update" && "$1" != "check-only" ]; then >&2 echo "Failed: Invalid argument. Must be 'update' or 'check-only'" exit 1 From b411f9b125cff9e1482a6e758e3410694d466ba9 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 11 Jun 2024 11:50:08 +0100 Subject: [PATCH 3/3] Try installing npm without sudo --- .github/workflows/script/update-node-modules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/script/update-node-modules.sh b/.github/workflows/script/update-node-modules.sh index e59236d8aa..daef107f91 100755 --- a/.github/workflows/script/update-node-modules.sh +++ b/.github/workflows/script/update-node-modules.sh @@ -6,7 +6,7 @@ if [ "$1" != "update" && "$1" != "check-only" ]; then exit 1 fi -sudo npm install --force -g npm@9.2.0 +npm install --force -g npm@9.2.0 # clean the npm cache to ensure we don't have any files owned by root sudo npm cache clean --force