This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new bcd096d348 GH-39020: [CI][Release][JS] Use Node.js 18 instead of 16
(#39021)
bcd096d348 is described below
commit bcd096d34883083f04afc0ac92d73925cc486377
Author: Sutou Kouhei <[email protected]>
AuthorDate: Sat Dec 2 05:44:17 2023 +0900
GH-39020: [CI][Release][JS] Use Node.js 18 instead of 16 (#39021)
### Rationale for this change
Node.js 16 reached EOL.
### What changes are included in this PR?
Use Node.js 18. It's the oldest maintained LTS.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* Closes: #39020
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/release/setup-rhel-rebuilds.sh | 2 +-
dev/release/verify-release-candidate.sh | 2 +-
dev/tasks/verify-rc/github.linux.amd64.yml | 4 ----
dev/tasks/verify-rc/github.macos.amd64.yml | 4 ++--
dev/tasks/verify-rc/github.macos.arm64.yml | 2 +-
5 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/dev/release/setup-rhel-rebuilds.sh
b/dev/release/setup-rhel-rebuilds.sh
index 702e6523a9..4950eb054e 100755
--- a/dev/release/setup-rhel-rebuilds.sh
+++ b/dev/release/setup-rhel-rebuilds.sh
@@ -27,7 +27,7 @@ dnf -y install 'dnf-command(config-manager)'
dnf config-manager --set-enabled powertools
dnf -y update
dnf -y module disable nodejs
-dnf -y module enable nodejs:16
+dnf -y module enable nodejs:18
dnf -y module disable ruby
dnf -y module enable ruby:2.7
dnf -y groupinstall "Development Tools"
diff --git a/dev/release/verify-release-candidate.sh
b/dev/release/verify-release-candidate.sh
index 7e92757339..d180104963 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -23,7 +23,7 @@
# - Maven >= 3.3.9
# - JDK >=7
# - gcc >= 4.8
-# - Node.js >= 11.12 (best way is to use nvm)
+# - Node.js >= 18
# - Go >= 1.19
# - Docker
#
diff --git a/dev/tasks/verify-rc/github.linux.amd64.yml
b/dev/tasks/verify-rc/github.linux.amd64.yml
index 8db6ed196b..854020e85c 100644
--- a/dev/tasks/verify-rc/github.linux.amd64.yml
+++ b/dev/tasks/verify-rc/github.linux.amd64.yml
@@ -59,10 +59,6 @@ jobs:
distribution: 'temurin'
java-version: '11'
- - uses: actions/setup-node@v2
- with:
- node-version: '16'
-
- name: Run verification
shell: bash
env:
diff --git a/dev/tasks/verify-rc/github.macos.amd64.yml
b/dev/tasks/verify-rc/github.macos.amd64.yml
index 4efed5c73a..6c31b8b29d 100644
--- a/dev/tasks/verify-rc/github.macos.amd64.yml
+++ b/dev/tasks/verify-rc/github.macos.amd64.yml
@@ -56,9 +56,9 @@ jobs:
with:
dotnet-version: '7.0.x'
- - uses: actions/setup-node@v2-beta
+ - uses: actions/setup-node@v4
with:
- node-version: '16'
+ node-version: '18'
- name: Run verification
shell: bash
diff --git a/dev/tasks/verify-rc/github.macos.arm64.yml
b/dev/tasks/verify-rc/github.macos.arm64.yml
index 75a061c4dd..c7777bb072 100644
--- a/dev/tasks/verify-rc/github.macos.arm64.yml
+++ b/dev/tasks/verify-rc/github.macos.arm64.yml
@@ -45,7 +45,7 @@ jobs:
run: |
brew bundle --file=arrow/cpp/Brewfile
brew bundle --file=arrow/c_glib/Brewfile
- export PATH="$(brew --prefix node@16)/bin:$PATH"
+ export PATH="$(brew --prefix node@18)/bin:$PATH"
export PATH="$(brew --prefix ruby)/bin:$PATH"
export PKG_CONFIG_PATH="$(brew --prefix ruby)/lib/pkgconfig"
arrow/dev/release/verify-release-candidate.sh \