Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Commit faed840

Browse files
authored
Upgrade node from v16 to v18 (#216)
1 parent a3a67bd commit faed840

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
jobs:
44
build:
55
docker:
6-
- image: cimg/node:16.18.1
6+
- image: cimg/node:18.14.2
77
working_directory: ~/repo
88
steps:
99
- checkout
@@ -20,7 +20,7 @@ jobs:
2020

2121
unit_test:
2222
docker:
23-
- image: cimg/node:16.18.1
23+
- image: cimg/node:18.14.2
2424
working_directory: ~/repo
2525
steps:
2626
- checkout

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.18.1
1+
18.14.2

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ First you'll need to have a repo to test in that is under your name. So [create
1111
Now you'll need to set up Pipelines. On the sidebar you should see a `Pipelines` button, click that. It will ask which kind of build you wish to create, select `Javascript`. It should have a sample config in front of you. Replace it with:
1212

1313
```yml
14-
image: node:12
14+
image: node:18
1515

1616
pipelines:
1717
default: # This is the default branch build

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16.18.1-alpine
1+
FROM node:18.14.2-alpine@sha256:0d2712ac2b2c1149391173de670406f6e3dbdb1b2ba44e8530647e623e0e1b17
22

33
WORKDIR /opt/service
44

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@types/ioredis-mock": "^5.6.0",
5151
"@types/jest": "^26.0.5",
5252
"@types/joi": "^14.3.4",
53-
"@types/node": "^15.0.2",
53+
"@types/node": "^18.14.1",
5454
"@types/p-retry": "^2.0.0",
5555
"@types/passport": "^1.0.6",
5656
"@types/passport-http": "^0.3.9",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3483,10 +3483,10 @@
34833483
resolved "https://packages.atlassian.com/api/npm/npm-remote/@types/node/-/node-16.11.56.tgz#dcbb617669481e158e0f1c6204d1c768cd675901"
34843484
integrity sha512-aFcUkv7EddxxOa/9f74DINReQ/celqH8DiB3fRYgVDM2Xm5QJL8sl80QKuAnGvwAsMn+H3IFA6WCrQh1CY7m1A==
34853485

3486-
"@types/node@^15.0.2":
3487-
version "15.14.9"
3488-
resolved "https://packages.atlassian.com/api/npm/npm-remote/@types/node/-/node-15.14.9.tgz#bc43c990c3c9be7281868bbc7b8fdd6e2b57adfa"
3489-
integrity sha512-qjd88DrCxupx/kJD5yQgZdcYKZKSIGBVDIBE1/LTGcNm3d2Np/jxojkdePDdfnBHJc5W7vSMpbJ1aB7p/Py69A==
3486+
"@types/node@^18.14.1":
3487+
version "18.14.1"
3488+
resolved "https://packages.atlassian.com/api/npm/npm-remote/@types/node/-/node-18.14.1.tgz#90dad8476f1e42797c49d6f8b69aaf9f876fc69f"
3489+
integrity sha512-QH+37Qds3E0eDlReeboBxfHbX9omAcBCXEzswCu6jySP642jiM3cYSIkU/REqwhCUqXdonHFuBfJDiAJxMNhaQ==
34903490

34913491
"@types/normalize-package-data@^2.4.0":
34923492
version "2.4.1"

0 commit comments

Comments
 (0)