Skip to content

Commit 13f9cca

Browse files
authored
Merge pull request #286 from shelfio/feature/OPS-5073-node-v22-upgrade
OPS-5073 Update to Node v22
2 parents 579e941 + d5070a4 commit 13f9cca

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

.circleci/config.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
version: 2.1
22

3+
parameters:
4+
node_docker_image:
5+
type: string
6+
default: cimg/node:22.14.0-browsers
7+
38
jobs:
49
test_without_db:
510
working_directory: ~/repo
611
docker:
7-
- image: cimg/node:20.18.1-browsers
8-
12+
- image: << parameters.node_docker_image >>
913
steps:
1014
- checkout
1115
- run: yarn
@@ -15,9 +19,8 @@ jobs:
1519
test_with_db:
1620
working_directory: ~/repo
1721
docker:
18-
- image: cimg/node:20.18.1-browsers
22+
- image: << parameters.node_docker_image >>
1923
- image: circleci/dynamodb
20-
2124
steps:
2225
- checkout
2326
- run: yarn

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.13.0

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Breaking Changes
2+
3+
## 4.0.0
4+
5+
- Switched `node` version `18`->`22`

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shelf/jest-dynamodb",
3-
"version": "3.4.4",
3+
"version": "4.0.0",
44
"description": "Run your tests using Jest & DynamoDB local",
55
"keywords": [
66
"dynamodb",
@@ -64,7 +64,7 @@
6464
"@types/aws-sdk": "2.7.4",
6565
"@types/cwd": "^0.10.2",
6666
"@types/jest": "29.5.14",
67-
"@types/node": "20",
67+
"@types/node": "22",
6868
"eslint": "9.19.0",
6969
"husky": "8.0.3",
7070
"jest": "29.7.0",
@@ -73,7 +73,7 @@
7373
"typescript": "5.7.3"
7474
},
7575
"engines": {
76-
"node": ">=20"
76+
"node": ">=22"
7777
},
7878
"publishConfig": {
7979
"access": "public"

0 commit comments

Comments
 (0)