Skip to content
This repository was archived by the owner on Feb 19, 2024. It is now read-only.

Commit c59cf90

Browse files
authored
Merge pull request #77 from Financial-Times/upgrade-node-to-v14
Upgrade Node to v14
2 parents 1b43f8d + 9bbe3fe commit c59cf90

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.circleci/config.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
references:
55

6-
container_config_node8: &container_config_node8
6+
container_config_node14: &container_config_node14
77
working_directory: ~/project/build
88
docker:
9-
- image: circleci/node:8-browsers
9+
- image: circleci/node:14-browsers
1010

1111
workspace_root: &workspace_root
1212
~/project
@@ -55,7 +55,7 @@ version: 2
5555
jobs:
5656

5757
build:
58-
<<: *container_config_node8
58+
<<: *container_config_node14
5959
steps:
6060
- checkout
6161
- run:
@@ -85,7 +85,7 @@ jobs:
8585
- build
8686

8787
test:
88-
<<: *container_config_node8
88+
<<: *container_config_node14
8989
steps:
9090
- *attach_workspace
9191
- run:
@@ -101,7 +101,7 @@ jobs:
101101
destination: test-results
102102

103103
publish:
104-
<<: *container_config_node8
104+
<<: *container_config_node14
105105
steps:
106106
- *attach_workspace
107107
- run:

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
14.11

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A useful CLI for working with Next's Elasticsearch clusters. Includes tools to s
44

55
## Prerequisites
66

7-
- Node 8.11+
7+
- Node version defined by `engines.node` in `package.json`. Run command `nvm use` to switch your local Node version to the one specified in `.nvmrc`.
88
- [Vault CLI](https://github.com/Financial-Times/vault/wiki/Getting-Started#login-with-the-cli) (optional, see notes below)
99

1010
## Installation and setup
@@ -184,4 +184,4 @@ Rotating AWS keys means that eventually the `access_key` stored at `~/.n-es-tool
184184
<TASK> failed: Authorization Exception :: {"path":"/content/item/_search","query":{"sort":"_doc","scroll":"1m","size":5000,"_source":"false"},"statusCode":403,"response":"{\"message\":\"The security token included in the request is invalid.\"}"}
185185
```
186186

187-
Reinstalling `n-es-tools` will pull in the current `access_key` and should address this issue.
187+
Reinstalling `n-es-tools` will pull in the current `access_key` and should address this issue.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
"standard": "^12.0.1"
3232
},
3333
"engines": {
34-
"node": ">=8.11.0"
34+
"node": "14.x"
3535
}
3636
}

0 commit comments

Comments
 (0)