ui: Bump node to v14 (#10238)

This commit is contained in:
John Cowen 2021-05-18 16:30:19 +01:00 committed by GitHub
parent 8a5ce4ceae
commit 750be34091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 31 additions and 7 deletions

View File

@ -14,7 +14,7 @@ parameters:
references:
images:
go: &GOLANG_IMAGE docker.mirror.hashicorp.services/circleci/golang:1.16.3
ember: &EMBER_IMAGE docker.mirror.hashicorp.services/circleci/node:12-browsers
ember: &EMBER_IMAGE docker.mirror.hashicorp.services/circleci/node:14-browsers
paths:
test-results: &TEST_RESULTS_DIR /tmp/test-results

View File

@ -1,9 +1,9 @@
ARG ALPINE_VERSION=3.11
ARG ALPINE_VERSION=3.13
FROM alpine:${ALPINE_VERSION}
ARG NODEJS_VERSION=12.15.0-r1
ARG MAKE_VERSION=4.2.1-r2
ARG YARN_VERSION=1.22.5
ARG NODEJS_VERSION=14.16.1-r1
ARG MAKE_VERSION=4.3-r0
ARG YARN_VERSION=1.22.10
RUN apk update && \
apk add nodejs=${NODEJS_VERSION} nodejs-npm=${NODEJS_VERSION} make=${MAKE_VERSION} && \

View File

@ -18,5 +18,8 @@
"doctoc": "^2.0.0",
"license-checker": "^25.0.1",
"npm-run-all": "^4.1.5"
},
"engines": {
"node": ">=10 <=14"
}
}

View File

@ -1 +1 @@
12
14

View File

@ -0,0 +1,21 @@
# Upgrades
## Node
Node upgrades should be done when it is convienient, preferably using the
latest Active LTS version (https://nodejs.org/en/about/releases/) that also
corresponds with the ember version we are on (https://github.com/ember-cli/ember-cli/blob/master/docs/node-support.md)
Aswell as bumping our `.nvmrc` and `.circleci/config.yml` files, when bumping
node versions, please check with the rest of the team to see if there are
other repositories that should track the same node version as this repository.
## Ember
TBD
## Other
TBD

View File

@ -173,7 +173,7 @@
"validated-changeset": "0.10.0"
},
"engines": {
"node": "10.* || >= 12"
"node": ">=10 <=14"
},
"ember": {
"edition": "octane"