Commit 72faadc1 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'leipert-drop-node-8-support' into 'master'

Bump minimum node version to v10.13.0

See merge request gitlab-org/gitlab!26831
parents 36ca6e28 3f8026ea
...@@ -279,10 +279,6 @@ coverage-frontend: ...@@ -279,10 +279,6 @@ coverage-frontend:
- date - date
- yarn run webpack-prod - yarn run webpack-prod
qa-frontend-node:8:
extends: .qa-frontend-node
image: node:carbon
qa-frontend-node:10: qa-frontend-node:10:
extends: .qa-frontend-node extends: .qa-frontend-node
image: node:dubnium image: node:dubnium
......
---
title: Bump minimum node version to v10.13.0
merge_request: 26831
author:
type: other
...@@ -9,7 +9,7 @@ GitLab is built on top of [Ruby on Rails](https://rubyonrails.org) using [Haml][ ...@@ -9,7 +9,7 @@ GitLab is built on top of [Ruby on Rails](https://rubyonrails.org) using [Haml][
Be wary of [the limitations that come with using Hamlit][hamlit-limits]. We also use [SCSS](https://sass-lang.com) and plain JavaScript with Be wary of [the limitations that come with using Hamlit][hamlit-limits]. We also use [SCSS](https://sass-lang.com) and plain JavaScript with
modern ECMAScript standards supported through [Babel][babel] and ES module support through [webpack][webpack]. modern ECMAScript standards supported through [Babel][babel] and ES module support through [webpack][webpack].
Working with our frontend assets requires Node (v8.10.0 or greater) and Yarn Working with our frontend assets requires Node (v10.13.0 or greater) and Yarn
(v1.10.0 or greater). You can find information on how to install these on our (v1.10.0 or greater). You can find information on how to install these on our
[installation guide][install]. [installation guide][install].
......
...@@ -263,7 +263,7 @@ Since GitLab 8.17, GitLab requires the use of Node to compile JavaScript ...@@ -263,7 +263,7 @@ Since GitLab 8.17, GitLab requires the use of Node to compile JavaScript
assets, and Yarn to manage JavaScript dependencies. The current minimum assets, and Yarn to manage JavaScript dependencies. The current minimum
requirements for these are: requirements for these are:
- `node` >= v8.10.0. (We recommend node 12.x as it is faster) - `node` >= v10.13.0. (We recommend node 12.x as it is faster)
- `yarn` >= v1.10.0. - `yarn` >= v1.10.0.
In many distros, In many distros,
......
...@@ -59,16 +59,16 @@ GitLab 11.11 and higher only supports Git 2.21.x and newer, and ...@@ -59,16 +59,16 @@ GitLab 11.11 and higher only supports Git 2.21.x and newer, and
### Node.js versions ### Node.js versions
Beginning in GitLab 11.8, we only support Node.js 8.10.0 or higher, and dropped Beginning in GitLab 12.9, we only support node.js 10.13.0 or higher, and we have dropped
support for Node.js 6. support for node.js 8. (node.js 6 support was dropped in GitLab 11.8)
We recommend Node 12.x, as it is faster. We recommend Node 12.x, as it is faster.
GitLab uses [webpack](https://webpack.js.org/) to compile frontend assets, which requires a minimum GitLab uses [webpack](https://webpack.js.org/) to compile frontend assets, which requires a minimum
version of Node.js 8.10.0. version of Node.js 10.13.0.
You can check which version you are running with `node -v`. If you are running You can check which version you are running with `node -v`. If you are running
a version older than `v8.10.0`, you need to update to a newer version. You a version older than `v10.13.0`, you need to update to a newer version. You
can find instructions to install from community maintained packages or compile can find instructions to install from community maintained packages or compile
from source at the [Node.js website](https://nodejs.org/en/download). from source at the [Node.js website](https://nodejs.org/en/download).
......
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
"monaco-editor": "0.18.1" "monaco-editor": "0.18.1"
}, },
"engines": { "engines": {
"node": ">=8.10.0", "node": ">=10.13.0",
"yarn": "^1.10.0" "yarn": "^1.10.0"
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment