Skip to content

Commit

Permalink
upgrade nodejs to 14.x (recommended) since 10.x is EOL (#5229)
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Zhang <liang.zhang@databricks.com>
  • Loading branch information
liangz1 committed Jan 7, 2022
1 parent d83d69d commit 53189c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autoformat.yml
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -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 && \
Expand Down

0 comments on commit 53189c2

Please sign in to comment.