This is an automated email from the ASF dual-hosted git repository.

wilfreds pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e6e72a86e [YUNIKORN-1974] Move to Node.js 18 (#334)
8e6e72a86e is described below

commit 8e6e72a86eac57873a51ed65221c5feb520ed0af
Author: DouPache <[email protected]>
AuthorDate: Tue Oct 17 12:31:25 2023 +1100

    [YUNIKORN-1974] Move to Node.js 18 (#334)
    
    Node.js 16 has reached its End-of-Life as of September 11, 2023.
    Moving to Node 18.17 as the current latest LTS version
    
    Closes: #334
    
    Signed-off-by: Wilfred Spiegelenburg <[email protected]>
---
 .github/workflows/auto-publish.yml | 2 +-
 .github/workflows/pre-commit.yml   | 2 +-
 .nvmrc                             | 2 +-
 local-build.sh                     | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/auto-publish.yml 
b/.github/workflows/auto-publish.yml
index 9546f6ba13..f562777a95 100644
--- a/.github/workflows/auto-publish.yml
+++ b/.github/workflows/auto-publish.yml
@@ -31,7 +31,7 @@ jobs:
       - name: "Build and run website locally"
         working-directory: './yunikorn-master'
         run: |
-          NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-16.14}
+          NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-18.17}
           git log master --pretty=format:"Auto refresh: %s" -n 1 > 
../asf-site-commit.txt
           docker build -t yunikorn/yunikorn-website:2.0.0 . --build-arg 
NODE_VERSION=${NODE_VERSION}
           docker run --name yunikorn-site -d -p 3000:3000 
yunikorn/yunikorn-website:2.0.0
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index ed02ea6a2d..65c1601d16 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -32,5 +32,5 @@ jobs:
         run: ./check_license.sh
       - name: Build the site image
         run: |
-          NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-16.14}
+          NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-18.17}
           docker build -t yunikorn/yunikorn-website:2.0.0 . --build-arg 
NODE_VERSION=${NODE_VERSION}
diff --git a/.nvmrc b/.nvmrc
index d4b25d088c..aacb518104 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-16.16
+18.17
diff --git a/local-build.sh b/local-build.sh
index c20ed3d701..89b123085d 100755
--- a/local-build.sh
+++ b/local-build.sh
@@ -36,8 +36,8 @@ function node_version() {
   if [ -r ${NV_FILE} ]; then
     NODE_VERSION=$(<"$NV_FILE")
   fi
-  # docusausrus 2.0.0-beta.18 and later ony work with node 16.14 later, use it 
as the default
-  NODE_VERSION=${NODE_VERSION:-16.14}
+  # docusausrus 2.0.0-beta.18 and later only work with node 16.14 later, we 
use latest LTS as default.
+  NODE_VERSION=${NODE_VERSION:-18.17}
 }
 
 function image_build() {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to