Skip to content

Commit

Permalink
add node in AL2
Browse files Browse the repository at this point in the history
Signed-off-by: jingwei wang <[email protected]>
  • Loading branch information
sky1122 committed Nov 14, 2024
1 parent bfccae4 commit a84b19b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/setup-linux-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ if [ "${OS_NAME}" = "Amazon Linux" ]; then
if [ "${OS_VERSION}" = "2" ]; then
GH_RUNNER_DEPENDENCIES="openssl krb5-libs zlib jq"
ADDITIONAL_PACKAGES="policycoreutils-python systemd-rpm-macros ${GH_RUNNER_DEPENDENCIES}"
NODE_VERSION="22.9.0"
curl -OL https://d3rnber7ry90et.cloudfront.net/linux-$(uname -m)/node-v${NODE_VERSION}.tar.gz
tar -xf node-v${NODE_VERSION}.tar.gz
mv node-v${NODE_VERSION}/bin/* /usr/bin
elif [ "${OS_VERSION}" = "2023" ]; then
GH_RUNNER_DEPENDENCIES="lttng-ust openssl-libs krb5-libs zlib libicu"
ADDITIONAL_PACKAGES="policycoreutils-python-utils ${GH_RUNNER_DEPENDENCIES}"
Expand Down

0 comments on commit a84b19b

Please sign in to comment.