From 53189c2cbc1f0872513eb761f344669331702d9e Mon Sep 17 00:00:00 2001 From: Liang Zhang Date: Thu, 6 Jan 2022 16:42:21 -0800 Subject: [PATCH] upgrade nodejs to 14.x (recommended) since 10.x is EOL (#5229) Signed-off-by: Liang Zhang --- .github/workflows/autoformat.yml | 2 +- .github/workflows/master.yml | 4 ++-- Dockerfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autoformat.yml b/.github/workflows/autoformat.yml index 609bf6489137d..9aae48376a907 100644 --- a/.github/workflows/autoformat.yml +++ b/.github/workflows/autoformat.yml @@ -115,7 +115,7 @@ jobs: ref: ${{ needs.check-comment.outputs.ref }} - uses: actions/setup-node@v1 with: - node-version: 10.x + node-version: 14.x - name: Install dependencies run: | npm i diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index c0c065df62291..f379f318b7bc2 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -267,7 +267,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v1 with: - node-version: 10.x + node-version: 14.x - name: Install dependencies run: | npm i @@ -419,7 +419,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v1 with: - node-version: 10.x + node-version: 14.x - name: Install JS dependencies working-directory: mlflow/server/js shell: pwsh diff --git a/Dockerfile b/Dockerfile index dcc41ddc907e4..5bd18c3cdaa9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN apt-get update && \ # mkdir required to support install openjdk-11-jre-headless mkdir -p /usr/share/man/man1 && apt-get install -y openjdk-11-jre-headless && \ # install npm for node.js support - curl -sL https://deb.nodesource.com/setup_10.x | bash - && \ + curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ apt-get update && apt-get install -y nodejs && \ cd mlflow/server/js && \ npm install && \