diff options
author | Effy Elden <effy@effy.space> | 2022-12-16 03:43:26 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 17:43:26 +0100 |
commit | 1e49be33289b969be64620b904d589158e7b579a (patch) | |
tree | ec448755547dfddd483a4a8b99c41a9255e8b120 /.devcontainer | |
parent | fb1d9789dba288599e05ba813af0c61f484e205c (diff) |
Align everything to Node.js 16 (#22223)
* Update nvmrc to Node.js 16 * Update package.json minimum Node engine to 16 * Update README requirements to Node.js 16 * Update devcontainer Node.js version to 16 * Update devcontainer Dockerfile Node.js choices to LTS versions that are still in support/maintenance * Pin CircleCI Node image to 16 * Fix YAML type issue * Update CircleCI Node.js to 16.18 to match #22019
Diffstat (limited to '.devcontainer')
-rw-r--r-- | .devcontainer/Dockerfile | 2 | ||||
-rw-r--r-- | .devcontainer/docker-compose.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index ac495e1c9..425b86a6b 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -9,7 +9,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/ruby:${VARIANT} # The value is a comma-separated list of allowed domains ENV RAILS_DEVELOPMENT_HOSTS=".githubpreview.dev" -# [Choice] Node.js version: lts/*, 16, 14, 12, 10 +# [Choice] Node.js version: lts/*, 18, 16, 14 ARG NODE_VERSION="lts/*" RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1" diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 46f42c454..a61116fca 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -11,7 +11,7 @@ services: # Use -bullseye variants on local arm64/Apple Silicon. VARIANT: '3.0-bullseye' # Optional Node.js version to install - NODE_VERSION: '14' + NODE_VERSION: '16' volumes: - ..:/workspaces/mastodon:cached environment: |