Skip to content

Commit 5de8ba5

Browse files
committed
Update to Node.js v18
1 parent a7b364d commit 5de8ba5

File tree

12 files changed

+3636
-2952
lines changed

12 files changed

+3636
-2952
lines changed

Diff for: .devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VARIANT="14"
1+
ARG VARIANT="18"
22

33
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}
44

Diff for: .devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"build": {
44
"dockerfile": "Dockerfile",
55
"args": {
6-
"VARIANT": "14"
6+
"VARIANT": "18"
77
}
88
},
99
"extensions": [

Diff for: .github/workflows/format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Node.js
3333
uses: actions/setup-node@v2
3434
with:
35-
node-version: '14'
35+
node-version: '18'
3636
- name: Get yarn cache directory
3737
id: yarn-cache-dir
3838
run: echo "::set-output name=dir::$(yarn cache dir)"

Diff for: .github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
strategy:
1212
matrix:
1313
node:
14-
- '14'
1514
- '16'
15+
- '18'
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v2

Diff for: .github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Node.js
1616
uses: actions/setup-node@v2
1717
with:
18-
node-version: '14'
18+
node-version: '18'
1919
registry-url: https://registry.npmjs.org
2020
- name: Check version
2121
id: version
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup Node.js
3939
uses: actions/setup-node@v2
4040
with:
41-
node-version: '14'
41+
node-version: '18'
4242
registry-url: https://npm.pkg.github.com
4343
- name: Check version
4444
id: version
@@ -83,7 +83,7 @@ jobs:
8383
- name: Setup Node.js
8484
uses: actions/setup-node@v2
8585
with:
86-
node-version: '14'
86+
node-version: '18'
8787
- name: Get yarn cache directory
8888
id: yarn-cache-dir
8989
run: echo "::set-output name=dir::$(yarn cache dir)"

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup Node.js
4343
uses: actions/setup-node@v2
4444
with:
45-
node-version: '14'
45+
node-version: '18'
4646
- name: Get yarn cache directory
4747
id: yarn-cache-dir
4848
run: echo "::set-output name=dir::$(yarn cache dir)"

Diff for: .github/workflows/version.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup Node.js
4444
uses: actions/setup-node@v2
4545
with:
46-
node-version: '14'
46+
node-version: '18'
4747
- name: Get yarn cache directory
4848
id: yarn-cache-dir
4949
run: echo "::set-output name=dir::$(yarn cache dir)"

Diff for: .nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/fermium
1+
18

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](https://semver.org/).
77

8+
## 2.5.0 / 2024-04-21
9+
10+
### Changed
11+
12+
- Update to Node.js v18.
13+
814
## 2.4.0 / 2022-03-17
915

1016
### Added

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"report": "nyc report"
5555
},
5656
"engines": {
57-
"node": ">=14.15.0"
57+
"node": ">=16.14.0"
5858
},
5959
"dependencies": {
6060
"@hapi/boom": "^9.1.3",

Diff for: serverless.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugins:
1212
provider:
1313
name: aws
1414
architecture: arm64
15-
runtime: nodejs14.x
15+
runtime: nodejs18.x
1616
region: ${env:AWS_DEFAULT_REGION, 'us-east-1'}
1717
stage: stg
1818
logRetentionInDays: 30

0 commit comments

Comments
 (0)