Skip to content

Commit

Permalink
Node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovepixelart committed May 9, 2024
1 parent aba8c01 commit 1f9798c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x, 20.x]
mongoose-version: [[mongoose@6.12.8, bson@^4.7.2], [mongoose@7.6.11, bson@^5.5.0], [mongoose@latest, bson@^6.5.0]]
steps:
- name: Checkout
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Caching queries is a good way to improve performance of your application

```json
{
"node": "16.x || 18.x || 20.x",
"node": "18.x || 20.x || 22.x",
"mongoose": "6.6.x || 7.x || 8.x",
}
```
Expand Down Expand Up @@ -57,20 +57,20 @@ bun add ts-cache-mongoose

```bash
# For mongoose 6
npm install mongoose@6.12.2
yarn add mongoose@6.12.2
pnpm add mongoose@6.12.2
bun add mongoose@6.12.2
npm install mongoose@6.12.8
yarn add mongoose@6.12.8
pnpm add mongoose@6.12.8
bun add mongoose@6.12.8
# For mongoose 7
npm install mongoose@7.6.4
yarn add mongoose@7.6.4
pnpm add mongoose@7.6.4
bun add mongoose@7.6.4
npm install mongoose@7.6.11
yarn add mongoose@7.6.11
pnpm add mongoose@7.6.11
bun add mongoose@7.6.11
# For mongoose 8
npm install mongoose@8.0.0
yarn add mongoose@8.0.0
pnpm add mongoose@8.0.0
bun add mongoose@8.0.0
npm install mongoose@8.3.4
yarn add mongoose@8.3.4
pnpm add mongoose@8.3.4
bun add mongoose@8.3.4
```

## Example
Expand Down

0 comments on commit 1f9798c

Please sign in to comment.