Skip to content

Commit 4237f59

Browse files
committed
chore: update
1 parent 55959e1 commit 4237f59

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
run: yarn test
3333
env:
3434
CI: true
35+
- name: Testing with previous mongoose versions 8
36+
run: yarn test-prev-vers-8
37+
env:
38+
CI: true
3539
- name: Testing with previous mongoose versions 7
3640
run: yarn test-prev-vers-7
3741
env:

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,16 @@
6060
"lint": "yarn eslint && yarn tscheck",
6161
"eslint": "eslint --ext .ts ./src",
6262
"tscheck": "tsc --noEmit",
63-
"test": "jest",
63+
"test": "yarn coverage && yarn lint",
6464
"link": "yarn build && yarn link graphql-compose && yarn link graphql-compose-connection && yarn link graphql-compose-pagination && yarn link mongoose && yarn link",
6565
"unlink": "rimraf node_modules && yarn install",
6666
"semantic-release": "semantic-release",
67+
"test-prev-vers-8": "yarn add [email protected] --dev --ignore-scripts && yarn coverage && git checkout HEAD -- package.json yarn.lock",
6768
"test-prev-vers-7": "yarn add [email protected] --dev --ignore-scripts && yarn coverage && git checkout HEAD -- package.json yarn.lock",
6869
"test-prev-vers-6": "yarn add [email protected] --dev --ignore-scripts && yarn coverage && git checkout HEAD -- package.json yarn.lock"
6970
},
7071
"engines": {
71-
"node": ">=16.0.0"
72+
"node": ">=20.0.0"
7273
},
7374
"packageManager": "[email protected]"
7475
}

0 commit comments

Comments
 (0)