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

Commit

Permalink
Upgrade node from v16 to v18 (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blasz authored Feb 27, 2023
1 parent a3a67bd commit faed840
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
jobs:
build:
docker:
- image: cimg/node:16.18.1
- image: cimg/node:18.14.2
working_directory: ~/repo
steps:
- checkout
Expand All @@ -20,7 +20,7 @@ jobs:

unit_test:
docker:
- image: cimg/node:16.18.1
- image: cimg/node:18.14.2
working_directory: ~/repo
steps:
- checkout
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.18.1
18.14.2
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ First you'll need to have a repo to test in that is under your name. So [create
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:

```yml
image: node:12
image: node:18

pipelines:
default: # This is the default branch build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.18.1-alpine
FROM node:18.14.2-alpine@sha256:0d2712ac2b2c1149391173de670406f6e3dbdb1b2ba44e8530647e623e0e1b17

WORKDIR /opt/service

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@types/ioredis-mock": "^5.6.0",
"@types/jest": "^26.0.5",
"@types/joi": "^14.3.4",
"@types/node": "^15.0.2",
"@types/node": "^18.14.1",
"@types/p-retry": "^2.0.0",
"@types/passport": "^1.0.6",
"@types/passport-http": "^0.3.9",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3483,10 +3483,10 @@
resolved "https://packages.atlassian.com/api/npm/npm-remote/@types/node/-/node-16.11.56.tgz#dcbb617669481e158e0f1c6204d1c768cd675901"
integrity sha512-aFcUkv7EddxxOa/9f74DINReQ/celqH8DiB3fRYgVDM2Xm5QJL8sl80QKuAnGvwAsMn+H3IFA6WCrQh1CY7m1A==

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

"@types/normalize-package-data@^2.4.0":
version "2.4.1"
Expand Down

0 comments on commit faed840

Please sign in to comment.