Update version of node used to 18.15.0 (#14436)

This commit is contained in:
Don Jayamanne 2023-10-30 19:07:08 +11:00 коммит произвёл GitHub
Родитель 3917e7b771
Коммит 8e00fc7533
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
7 изменённых файлов: 13 добавлений и 13 удалений

Просмотреть файл

@ -6,7 +6,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:3
ENV NVM_DIR /usr/local/nvm ENV NVM_DIR /usr/local/nvm
RUN mkdir -p $NVM_DIR RUN mkdir -p $NVM_DIR
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
ENV NODE_VERSION 16.14.2 ENV NODE_VERSION 18.15.0
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
@ -14,7 +14,7 @@ RUN echo "source $NVM_DIR/nvm.sh && \
nvm install $NODE_VERSION && \ nvm install $NODE_VERSION && \
nvm alias default $NODE_VERSION && \ nvm alias default $NODE_VERSION && \
nvm use default && \ nvm use default && \
npm i -g npm@8.15.1" | bash npm i -g npm@9.5.0" | bash
# Copy environment.yml (if found) to a temp locaition so we update the environment. Also # Copy environment.yml (if found) to a temp locaition so we update the environment. Also
# copy "noop.txt" so the COPY instruction does not fail if no environment.yml exists. # copy "noop.txt" so the COPY instruction does not fail if no environment.yml exists.

Просмотреть файл

@ -1,6 +1,6 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.169.0/containers/python-3-miniconda/.devcontainer/base.Dockerfile # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.169.0/containers/python-3-miniconda/.devcontainer/base.Dockerfile
FROM node:16.14.2-bullseye-slim FROM node:18.15.0-bullseye-slim
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y install apt-utils git gnupg2 curl locales ca-certificates sudo RUN apt-get -y install apt-utils git gnupg2 curl locales ca-certificates sudo
@ -26,7 +26,7 @@ RUN bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "$
RUN apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts RUN apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts
# # Finally install npm # # Finally install npm
RUN echo "npm i -g npm@8.15.1" | bash RUN echo "npm i -g npm@9.5.0" | bash
RUN apt install curl -y RUN apt install curl -y
RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \

4
.github/workflows/build-test.yml поставляемый
Просмотреть файл

@ -27,8 +27,8 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
NODE_VERSION: 16.14.2 NODE_VERSION: 18.15.0
NPM_VERSION: 8.15.1 NPM_VERSION: 9.5.0
PYTHON_VERSION: 3.8 PYTHON_VERSION: 3.8
JULIA_VERSION: 1.5.2 JULIA_VERSION: 1.5.2
MOCHA_REPORTER_JUNIT: true # Use the mocha-multi-reporters and send output to both console (spec) and JUnit (mocha-junit-reporter). Also enables a reporter which exits the process running the tests if it haven't already. MOCHA_REPORTER_JUNIT: true # Use the mocha-multi-reporters and send output to both console (spec) and JUnit (mocha-junit-reporter). Also enables a reporter which exits the process running the tests if it haven't already.

2
.nvmrc
Просмотреть файл

@ -1 +1 @@
v16.14.2 v18.15.0

Просмотреть файл

@ -13,8 +13,8 @@
### Prerequisites ### Prerequisites
1. [Node.js](https://nodejs.org/) 16.14.2 1. [Node.js](https://nodejs.org/) 18.15.0
2. [npm](https://www.npmjs.com/) 8.15.1 2. [npm](https://www.npmjs.com/) 9.5.0
3. [Python](https://www.python.org/) 3.6 or later 3. [Python](https://www.python.org/) 3.6 or later
4. Windows, macOS, or Linux 4. Windows, macOS, or Linux
5. [Visual Studio Code](https://code.visualstudio.com/) 5. [Visual Studio Code](https://code.visualstudio.com/)

Просмотреть файл

@ -68,8 +68,8 @@ extends:
displayName: Install zmq dependencies displayName: Install zmq dependencies
condition: or(eq(variables.vsceTarget, ''), contains(variables.vsceTarget, 'linux'), contains(variables.vsceTarget, 'alpine')) condition: or(eq(variables.vsceTarget, ''), contains(variables.vsceTarget, 'linux'), contains(variables.vsceTarget, 'alpine'))
- script: npm i -g npm@8.15.1 - script: npm i -g npm@9.5.0
displayName: npm 8.15.1 displayName: npm 9.5.0
- script: npm ci --foreground-scripts - script: npm ci --foreground-scripts
displayName: npm ci displayName: npm ci

Просмотреть файл

@ -63,8 +63,8 @@ extends:
displayName: Install zmq dependencies displayName: Install zmq dependencies
condition: or(eq(variables.vsceTarget, ''), contains(variables.vsceTarget, 'linux'), contains(variables.vsceTarget, 'alpine')) condition: or(eq(variables.vsceTarget, ''), contains(variables.vsceTarget, 'linux'), contains(variables.vsceTarget, 'alpine'))
- script: npm i -g npm@8.15.1 - script: npm i -g npm@9.5.0
displayName: npm 8.15.1 displayName: npm 9.5.0
- script: npm ci --foreground-scripts - script: npm ci --foreground-scripts
displayName: npm ci displayName: npm ci